Horje
how to grep doi from RTF file Code Example
how to grep doi from RTF file
v2
cat Bibliography.rtf | sed 's/doi.org\//\n/g' | grep "^[0-9]" | sed -r "s/.{2}$//" > new.txt

v1
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 		

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




Shell

Related
-----Mg: *scratch*                        (fundamental)----All-------------------------------------------------------------------------------- Code Example -----Mg: *scratch* (fundamental)----All-------------------------------------------------------------------------------- Code Example
-----mg: *scratch* (fundamental)----all-------------------------------------------------------------------------------- Code Example -----mg: *scratch* (fundamental)----all-------------------------------------------------------------------------------- Code Example
install net tools in manjaro Code Example install net tools in manjaro Code Example
installing cdf Code Example installing cdf Code Example
manjaro network driver installed but not working Code Example manjaro network driver installed but not working Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11