bibgeturls (255B)
1 #!/usr/bin/zsh 2 3 # find URLs for all papers listed in a bib file from other bib files 4 5 FILE="$1" 6 shift 7 8 grep '^@' "$FILE" | cut -d'{' -f2 | grep -v ':' | grep -v '=' | tr -dc 'a-z0-9\n' | 9 while read KEY; do 10 bibgeturl "$KEY" "$@" | sed "s/^/$KEY /" 11 done