Mercurial > repo
annotate bin/metar @ 10382:80035b119441
<shachaf> slwd np//s.ns.n problems.
author | HackBot |
---|---|
date | Fri, 10 Mar 2017 03:39:34 +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}" |