Mercurial > repo
view bin/metar @ 12012:b413473a9ec3 draft
<kspalaiologos> ` cp tmp/asmbf-1.1.1/labels.pl /hackenv/bin
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Thu, 14 Nov 2019 16:13:19 +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}"