Mercurial > repo
view bin/metar @ 11143:01a5ff6d57ce
<shachaf> makelist ysaclist boily shachaf
author | HackBot |
---|---|
date | Wed, 02 Aug 2017 22:43:33 +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}"