aboutsummaryrefslogtreecommitdiff
path: root/brweather/bin/open-5
diff options
context:
space:
mode:
Diffstat (limited to 'brweather/bin/open-5')
-rw-r--r--brweather/bin/open-51
1 files changed, 1 insertions, 0 deletions
diff --git a/brweather/bin/open-5 b/brweather/bin/open-5
index dce32c0..5726add 100644
--- a/brweather/bin/open-5
+++ b/brweather/bin/open-5
@@ -6,6 +6,7 @@
# http://brweatherproject.blogspot.com/
# Distribuído sob licença GPLv3
+
AWE=$(echo awk -F"[,:]" '{for(i=1;i<=NF;i++){if($i~/id\042/){print$(i+1)}}}')
D5=$(grep -m1 $(date -d "4 day" "+%a") ~/.brweather/cache/open2 | tail -n1)