Mercurial > repo
view bin/metar @ 11966:3f1a4ab429fd draft
<b_jonas> `` sed -i \'1s"$" https://github.com/KrzysztofSzewczyk/esologs/"\' wisdom/log
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 12 Oct 2019 10:44:21 +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}"