Jump to content

User:Kweetal nl/snippets

From Wikipedia, the free encyclopedia
hacky snippets (risks are your own)
--
--- lookup in IOC updates
url=https://www.worldbirdnames.org/new/updates/update-diary/
ss="malaita.dwarf"   # I'm looking for Ceyx malaitae actions
links -dump -width 512 $url | perl -ne '$\ = "\n\n"; if (/'"${ss}"'|^\s*(202[0-9])\s*$/i) {print}'