doi2bib script

This commit is contained in:
q
2014-11-19 19:23:45 +02:00
parent c3b33e0505
commit a5975888c9
2 changed files with 9 additions and 0 deletions

8
reporting/doi2bib Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
if [ -z "$1" ]
then echo Expecting doi code
exit
fi
curl -LH "Accept: text/bibliography; style=bibtex" "http://dx.doi.org/$1"