Mercurial > repo
view bin/metar @ 12280:1c5330229fcf draft
<oerjan> learn The password of the month is only if lambda is a macro
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Wed, 01 Jan 2020 02:18:55 +0000 |
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}"