Skip to content

Instantly share code, notes, and snippets.

@rec3141
Created February 9, 2018 07:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save rec3141/c6f318ae79e9695af6af14d04963f554 to your computer and use it in GitHub Desktop.
bash reference manager: get bibtext from DOIs
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