annotate bin/metar @ 12220:7eaf71f23fbe draft

<oerjan> learn \xce\xbe\xcf\x80\xce\xb1\xce\xbb\xce\xb1\xce\xb9\xce\xbf\xce\xbb\xcf\x8c\xce\xb3\xce\xbf\xcf\x82 is kspalaiologos\'s Ancient Greek twin. He was banned from the theater for making up invalid characters.
author HackEso <hackeso@esolangs.org>
date Sun, 01 Dec 2019 02:35:07 +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}"