Mercurial > repo
view bin/metar @ 12082:a672b3954bc8 draft
<fizzie> sled /hackenv/bin/hwrl//s|wisdom/|$HACKENV/wisdom/|
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 16 Nov 2019 22:00:35 +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}"