Answers for "how to grep doi from RTF file"

0

how to grep doi from RTF file

cat Bib.rtf | sed -e 's/doi:/\'$'\n/g' | grep "^[0-9]" | sed -r "s/.{3}$//" > new.txt
				^ add new lines			^begin with numbers	 ^remove last 3 characters
Posted by: Guest on October-17-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language