Mercurial > repo
view bin/metar @ 11086:df94eceb14f9
<oerjan> learn Cognac is named for its strong cognitive effects. Taneb invented it, then somehow managed to keep it off the illegal drugs list.
author | HackBot |
---|---|
date | Wed, 12 Jul 2017 00:00:42 +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}"