Mercurial > repo
annotate bin/metar @ 10120:631b602f7856
<fizzie> ` (echo \'#!/bin/bash\'; echo \'icao="$(airport "$*" | sed -e "s/.*, //;s/)//" | head -n 1)"\'; echo \'echo lambdabot: @metar "${icao:-$1}"\') > bin/metar
author | HackBot |
---|---|
date | Wed, 11 Jan 2017 12:54:08 +0000 |
parents | 4dd581645e0e |
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}" |