Last active
January 9, 2019 21:11
-
-
Save andreas5232/57997d5fb43e49338d5a140dc9627d31 to your computer and use it in GitHub Desktop.
LaTeX URL references to PDF scrollshot
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
#!/bin/bash | |
cat quellen.bib | grep "howpublished" | grep -o -P "url{[a-zA-Z0-9\/\%.\-_\:\?=]*}" | sed -e 's/url{//g' | sed -e 's/}//g' | xargs -I '{}' sh -c 'wkhtmltopdf --print-media-type "{}" $(echo {}.pdf | sed -e "s/[^A-Za-z0-9._-]/_/g" )' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment