view bin/metar @ 12529:7424b8c067e4 draft default tip

<int-e> learn The password of the month is Myosotis.
author HackEso <hackeso@esolangs.org>
date Mon, 01 Sep 2025 16:57:24 +0100
parents 4fcebe1fd761
children
line wrap: on
line source

#!/bin/bash
icao="$(airport "$*" | sed -e "s/.*, //;s/)//" | shuf -n 1)"
echo You probably mean @metar "${icao:-$1}"