Mercurial > repo
view bin/metar @ 11202:63942f818fd0
<oerjan> swrjan s/lane/road/
author | HackBot |
---|---|
date | Thu, 28 Sep 2017 01:34:22 +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}"