Mercurial > repo
view bin/metar @ 11268:3b2ff7458cfd
<shachaf> slwd rules of wisdom//s/should/they &/
author | HackBot |
---|---|
date | Wed, 13 Dec 2017 11:27:32 +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}"