view bin/metar @ 12523:67a2e5342dad draft default tip

<b_jonas> learn The password of the month is outside the scope of this wisdom entry.
author HackEso <hackeso@esolangs.org>
date Tue, 01 Apr 2025 08:17:53 +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}"