errata
[phd-thesis.git] / process_bib.sh
1 #!/bin/sh
2 if [ $# -eq 0 ]
3 then
4 echo "Usage: $0 FILE.bib [FILE.bib ...]"
5 exit
6 fi
7 sed -i \
8 -e '/url = {https\?:\/\/\(doi.org\|link\.springer\|ieeexplore\|dl\.acm\|services\.igi-global\|arxiv\.org\|www.sciencedirect.com\)/d'\
9 -e 's/{Transforma Insights}/{&}/g'\
10 -e 's/{TOP Software}/{&}/g'\
11 -e 's/{GHC Team}/{&}/g'\
12 -e 's/λ/$\\lambda$/g'\
13 "${@}"