Mercurial > repo
view bin/metar @ 12421:62c19dc0cc7c draft
<oerjan> slbd olist//s,\\$n:,<$n>:,
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Fri, 17 Sep 2021 00:14:36 +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}"