Mercurial > repo
view bin/metar @ 11276:b23b2fe0151a
<oerjan> forget r.i.p.
author | HackBot |
---|---|
date | Sat, 16 Dec 2017 21:28:57 +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}"