Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to extract doi from rtf file

v2
cat Bibliography.rtf | sed 's/doi.org//
/g' | grep "^[0-9]" | sed -r "s/.{2}$//" > new.txt

v1
cat Bib.rtf | sed -e 's/doi:/'$'
/g' | grep "^[0-9]" | sed -r "s/.{3}$//" > new.txt
				^ add new lines			^begin with numbers	 ^remove last 3 characters 		

bib.rtf file was created using zotero 6.
select all > right click > create Bibgraphy > export rft
Comment

PREVIOUS NEXT
Code Example
Shell :: windows build support installation failed unity linux 
Shell :: unzip mac terminal 
Shell :: bash search and replace text in file 
Shell :: bash dynamic varibale 
Shell :: how to generate a .gitignore 
Shell :: ta-lib github action 
Shell :: dependencies for openboard in ubuntu 
Shell :: install Dagger 2 in Android studio 
Shell :: Install SWAY on debin ubuntu 
Shell :: ubuntu 16 lock from terminal 
Shell :: unzip a zip file ubuntu 
Shell :: linux install toilet 
Shell :: seach only in name apt 
Shell :: share a given window on android 
Shell :: avd manger permission need root 
Shell :: screen 
Shell :: create new file and copy from another file in powershell 
Shell :: install systemd wsl2 
Shell :: aws codedeploy logs 
Shell :: libodbc1 2.3.7 ubuntu 
Shell :: get count lines in file using cat 
Shell :: installl dukto 
Shell :: npm typeahead bootstrap 
Shell :: git request-pull example 
Shell :: temporary failure resolving security.ubuntu.com 
Shell :: remove a filled directory in linux terminal 
Shell :: Jupyter %%time 
Shell :: pod reference github 
Shell :: how to search on vim 
Shell :: how to download files from linux server 
ADD CONTENT
Topic
Content
Source link
Name
4+8 =