view bin/metar @ 11322:95654b88dbfc

<FireFly> slwd font//s;$; , FireFly\'s fonts http://xen.firefly.nu/up/fonts/ \\& https://twitter.com/FireyFly/status/899965577481129984;
author HackBot
date Mon, 15 Jan 2018 22:32:21 +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}"