Mercurial > repo
view bin/metar @ 10874:5428bb8426e1
<shachaf> ` ln -s randquote bin/rq
author | HackBot |
---|---|
date | Mon, 08 May 2017 23:59:18 +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}"