Mercurial > repo
view bin/metar @ 11190:e663bb69ea50
<oerjan> learn Fizzbuzz is the enterprise version of counting, where you replace certain numbers by buzzwords.
author | HackBot |
---|---|
date | Mon, 04 Sep 2017 02:21:02 +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}"