Created
May 6, 2015 11:54
-
-
Save ashwin/333af080378ee316ec23 to your computer and use it in GitHub Desktop.
Get BibTeX from DOI passed as input
This file contains hidden or 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
| #!/bin/bash | |
| url="http://dx.doi.org/"$1 | |
| curl -LH 'Accept: application/x-bibtex' $url |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment