# http://brweatherproject.blogspot.com/
# Distribuído sob licença GPLv3
-# Pasta base
-DIRNAME="$(dirname `dirname $0`)"
-
NCN=`grep "javascript:janela('http://tempo.cptec.inpe.br/~rtempo/legenda.shtml'" ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.'`
NC1=`grep -m1 'title="Clique sobre o ícone para ver a legenda"></a></div>' ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.'`
# http://brweatherproject.blogspot.com/
# Distribuído sob licença GPLv3
-# Pasta base
-DIRNAME="$(dirname `dirname $0`)"
-
NC2=`grep -m2 'title="Clique sobre o ícone para ver a legenda"></a></div>' ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.' | tail -n1`
NC3=`grep -m3 'title="Clique sobre o ícone para ver a legenda"></a></div>' ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.' | tail -n1`
NC4=`grep -m4 'title="Clique sobre o ícone para ver a legenda"></a></div>' ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.' | tail -n1`
# http://brweatherproject.blogspot.com/
# Distribuído sob licença GPLv3
-# Pasta base
-DIRNAME="$(dirname `dirname $0`)"
-
NC5=`grep -m5 'title="Clique sobre o ícone para ver a legenda"></a></div>' ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.' | tail -n1`
NC6=`grep -m6 'title="Clique sobre o ícone para ver a legenda"></a></div>' ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.' | tail -n1`
NC7=`grep -m7 'title="Clique sobre o ícone para ver a legenda"></a></div>' ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.' | tail -n1`
# http://brweatherproject.blogspot.com/
# Distribuído sob licença GPLv3
-# Pasta base
-DIRNAME="$(dirname `dirname $0`)"
-
#Ano atual
YEAR=`date "+%Y"`
# http://brweatherproject.blogspot.com/
# Distribuído sob licença GPLv3
-# Pasta base
-DIRNAME="$(dirname `dirname $0`)"
-
AWE=$(echo awk -F"[,:]" '{for(i=1;i<=NF;i++){if($i~/id\042/){print$(i+1)}}}')
WID=$(awk -F"[,:]" '{for(i=1;i<=NF;i++){if($i~/weather\042/){print$(i+2)}}}' ~/.brweather/cache/open1)
# http://brweatherproject.blogspot.com/
# Distribuído sob licença GPLv3
-# Pasta base
-DIRNAME="$(dirname `dirname $0`)"
-
AWE=$(echo awk -F"[,:]" '{for(i=1;i<=NF;i++){if($i~/id\042/){print$(i+1)}}}')
D2=$(grep -m1 $(date -d "1 day" "+%a") ~/.brweather/cache/open2 | tail -n1)
# http://brweatherproject.blogspot.com/
# Distribuído sob licença GPLv3
-# Pasta base
-DIRNAME="$(dirname `dirname $0`)"
-
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)
# http://brweatherproject.blogspot.com/
# Distribuído sob licença GPLv3
-# Pasta base
-DIRNAME="$(dirname `dirname $0`)"
-
YEAR=`date +%Y`
DATA0=`date +%d`