Mercurial > repo
view bin/metar @ 10658:a40a87b3a267
<oerjan> ` mv bin/lowercase{2,}
author | HackBot |
---|---|
date | Thu, 13 Apr 2017 03:47:14 +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}"