Mercurial > repo
view bin/metar @ 12162:8bb3e1600f3c draft
<oerjan> slbd sport//s,$HACKENV,,g
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Tue, 19 Nov 2019 03:44:32 +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}"