Mercurial > repo
annotate bin/metar @ 10340:4d09ce3dbd12
<oerjan> sled bin/?//3s,``,`\\\\(`\\\\|$\\\\),
author | HackBot |
---|---|
date | Fri, 24 Feb 2017 01:55:06 +0000 |
parents | 631b602f7856 |
children | aa29f6c3a587 |
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 |
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
|
2 icao="$(airport "$*" | sed -e "s/.*, //;s/)//" | head -n 1)" |
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
|
3 echo lambdabot: @metar "${icao:-$1}" |