Last active
July 3, 2020 18:57
-
-
Save Wikinaut/288844b348273cdb39ab7e668622bc72 to your computer and use it in GitHub Desktop.
Commandline-Suche im Bundeseinheitlichen Bußgeldkatalog (BKAT)
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
# Aufruf: bkat.sh <needle> | |
if [ ! -f "bkat.txt" ] ; then | |
if [ ! -f "bkat.pdf" ] ; then | |
wget -O bkat.pdf "https://www.kba.de/DE/ZentraleRegister/FAER/BT_KAT_OWI/bkat_owi_28_04_2020_pdf.pdf?__blob=publicationFile&v=7" | |
fi | |
pdftotext -layout bkat.pdf bkat.txt | |
fi | |
egrep -A9 -i --color=always "$1" bkat.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment