annotate bin/metar @ 12298:cea93c2c666a draft

<b_jonas> learn Burlesque is only the sexiest language on Earth. mroman created it for finance analysis because the traditionally used K and Dyalog APL are unreadable. (See: http://mroman.ch/burlesque )
author HackEso <hackeso@esolangs.org>
date Sat, 04 Jan 2020 22:50:21 +0000
parents 4fcebe1fd761
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10120
631b602f7856 <fizzie> ` (echo \'#!/bin/bash\'; echo \'icao="$(airport "$*" | sed -e "s/.*, //;s/)//" | head -n 1)"\'; echo \'echo lambdabot: @metar "${icao:-$1}"\') > bin/metar
HackBot
parents: 8070
diff changeset
1 #!/bin/bash
10583
aa29f6c3a587 <oerjan> sled bin/metar//s,head,shuf,
HackBot
parents: 10120
diff changeset
2 icao="$(airport "$*" | sed -e "s/.*, //;s/)//" | shuf -n 1)"
11774
4fcebe1fd761 <oerjan> sled bin/metar//s,lambdabot:,You probably mean,
HackEso <hackeso@esolangs.org>
parents: 10583
diff changeset
3 echo You probably mean @metar "${icao:-$1}"