Mercurial > repo
view bin/metar @ 10233:c776e4084a34
<oerjan> sled bin/xkcdwhatiflist//$aTaneb
author | HackBot |
---|---|
date | Fri, 10 Feb 2017 16:48:32 +0000 |
parents | 631b602f7856 |
children | aa29f6c3a587 |
line wrap: on
line source
#!/bin/bash icao="$(airport "$*" | sed -e "s/.*, //;s/)//" | head -n 1)" echo lambdabot: @metar "${icao:-$1}"