Mercurial > repo
view bin/metar @ 11273:819296960fe6
<oerjan> slwd `revert//s,http.*bot,https://hackego.esolangs.org,
author | HackBot |
---|---|
date | Sat, 16 Dec 2017 20:29:48 +0000 |
parents | aa29f6c3a587 |
children | 4fcebe1fd761 |
line wrap: on
line source
#!/bin/bash icao="$(airport "$*" | sed -e "s/.*, //;s/)//" | shuf -n 1)" echo lambdabot: @metar "${icao:-$1}"