Mercurial > repo
view bin/metar @ 10790:59e28b02a9ee
<oerjan> ` cd bin; cp wget curl
author | HackBot |
---|---|
date | Sat, 22 Apr 2017 00:01:13 +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}"