view bin/metar @ 11344:091f1f057107

<shachaf> mkx bin/dowrjan//dowg oerjan
author HackBot
date Sat, 10 Feb 2018 00:41:43 +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}"