scripts - scripts - some useful shell scripts

git clone git://git.bcharge.de/scripts.git

About | Log | Files | Refs

lat (204B)


1
2
3
4
5
#!/bin/sh

#Extract the Latin section from wiktionary

curl -v --stderr - "https://en.wiktionary.org/wiki/$1" | awk '/<h2 id="Latin">Latin<\/h2>/{p=1} /References/{p=0} p' | w3m -dump -T text/html | less