Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to grep 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 :: The chosen size is not valid for the chosen file system. : (-69850) 
Shell :: linux backup command line 
Shell :: ubuntu dock setting 
Shell :: install new kernel ubuntu 20.04 
Shell :: laravel nginx 404 not found 
Shell :: download onenote on fedora 
Shell :: advanced installer product key 
Shell :: how to fill text when create file in ubuntu 
Shell :: redis sentinel get master ip 
Shell :: how to install ndiswrapper on ubuntu 
Shell :: linux move files one directory up 
Shell :: what is appmenu-gtk-module 
Shell :: open download folder in mac 
Shell :: Git Branch usage order 
Shell :: rosetta terminal icon 
Shell :: desintaar pip de macos 
Shell :: conda-forge install web_manager 
Shell :: nmap run scripts 
Shell :: virtual network is not active 
Shell :: ntp not starting after reboot 
Shell :: Guthub Funding.yml 
Shell :: update plasma to 5.25 
Shell :: how to avoid some files changes to not come in git status 
Shell :: regex in shell script 
Shell :: vs code wsl unable to write file 
Shell :: recover commits done on HEAD 
Shell :: migrate git repository 
Shell :: linux crée utilisateur sudo 
Shell :: git diff of a file 
Shell :: Apache2 Ubuntu Default Page 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =