projects
/
pubbin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d55fa17
)
Add script to dump METAR observations
author
Dan White
<dan@whiteaudio.com>
Thu, 15 Sep 2011 20:43:56 +0000
(15:43 -0500)
committer
Dan White
<dan@whiteaudio.com>
Thu, 15 Sep 2011 20:43:56 +0000
(15:43 -0500)
metar.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/metar.sh
b/metar.sh
new file mode 100755
(executable)
index 0000000..
f027381
--- /dev/null
+++ b/
metar.sh
@@ -0,0
+1,7
@@
+#!/bin/bash
+
+STATION=$1
+
+wget -q -O - http://weather.noaa.gov/mgetmetar.php?cccc=$STATION \
+ | grep -i $STATION \
+ | tail -1