#/usr/bin/env bash # usage: ./bin/marcs2marc.sh > ./etc/hathitrust.marc # configure INDEX='./etc/carrels.idx' PATTERN="index.html" # debug, do the work, and done locate -d $INDEX $PATTERN exit