Created
February 9, 2018 07:21
-
-
Save rec3141/c6f318ae79e9695af6af14d04963f554 to your computer and use it in GitHub Desktop.
bash reference manager: get bibtext from DOIs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while read line; do curl -LH "Accept: application/x-bibtex" https://doi.org/$line | grep -v '^\s*[<"]'; done < dois.txt > dois.bib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment