#!/bin/bash for missing in `bibtex $1 | grep "database entry for \"MR" | sed -e s/.*\"MR// | sed -e s/\"//`; do get-mathscinet-bibtex $missing done