From 2e446bd47155e8cd052d4b907e41477515f0eefe Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 2 Oct 2014 11:47:52 -0300 Subject: Uploading version 0.7.1 --- src/bin/inpe-2 | 56 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'src/bin/inpe-2') diff --git a/src/bin/inpe-2 b/src/bin/inpe-2 index f58078d..e9e9b38 100755 --- a/src/bin/inpe-2 +++ b/src/bin/inpe-2 @@ -6,7 +6,7 @@ # http://brweatherproject.blogspot.com/ # Distribuído sob licença GPLv3 -LT1=`grep -A2 -m1 '
TEMP. MÍNIMA
' ~/.brweather/cache/cache | tail -n1 | sed 's/ //g ; s/º//g ; s/C//g'` +LT1=`grep -A2 -m1 '
TEMP. MÍNIMA
' ~/.brweather/cache/cache | tail -n1 | sed 's/ //g ; s/º//g ; s/C//g'` if [ -f $NLT1 ] ; then LT1="ND" @@ -17,87 +17,87 @@ fi case $1 in "--option=LT1") echo $LT1 ;; -"--option=HT1") grep -m1 '
TEMP. MÁXIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' +"--option=HT1") grep -m1 '
TEMP. MÁXIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' ;; "--option=PC1") grep -m1 '/imgs/pixel.gif" width="30px" height="10px" border="0"/>' ~/.brweather/cache/cache | cut -f2 -d'>' | cut -f1 -d'<' | sed 's/ //g' | tail -n1 | sed 's/%//g' ;; "--option=umid1") grep -m1 '
15h00
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' ;; -"--option=SOLN1") grep -m1 '
NASCER DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' +"--option=SOLN1") grep -m1 '
NASCER DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' ;; -"--option=SOLP1") grep -m1 '
PÔR DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' +"--option=SOLP1") grep -m1 '
PÔR DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' ;; -"--option=LT2") grep -m2 '
TEMP. MÍNIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 +"--option=LT2") grep -m2 '
TEMP. MÍNIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 ;; -"--option=HT2") grep -m2 '
TEMP. MÁXIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 +"--option=HT2") grep -m2 '
TEMP. MÁXIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 ;; "--option=PC2") grep -m2 '/imgs/pixel.gif" width="30px" height="10px" border="0"/>' ~/.brweather/cache/cache | cut -f2 -d'>' | cut -f1 -d'<' | sed 's/ //g' | tail -n1 | sed 's/%//g' ;; "--option=umid2") grep -m2 '
15h00
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=SOLN2") grep -m2 '
NASCER DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 +"--option=SOLN2") grep -m2 '
NASCER DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=SOLP2") grep -m2 '
PÔR DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 +"--option=SOLP2") grep -m2 '
PÔR DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=LT3") grep -m3 '
TEMP. MÍNIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 +"--option=LT3") grep -m3 '
TEMP. MÍNIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 ;; -"--option=HT3") grep -m3 '
TEMP. MÁXIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 +"--option=HT3") grep -m3 '
TEMP. MÁXIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 ;; "--option=PC3") grep -m3 '/imgs/pixel.gif" width="30px" height="10px" border="0"/>' ~/.brweather/cache/cache | cut -f2 -d'>' | cut -f1 -d'<' | sed 's/ //g' | tail -n1 | sed 's/%//g' ;; "--option=umid3") grep -m3 '
15h00
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=SOLN3") grep -m3 '
NASCER DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 +"--option=SOLN3") grep -m3 '
NASCER DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=SOLP3") grep -m3 '
PÔR DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 +"--option=SOLP3") grep -m3 '
PÔR DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=LT4") grep -m4 '
TEMP. MÍNIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 +"--option=LT4") grep -m4 '
TEMP. MÍNIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 ;; -"--option=HT4") grep -m4 '
TEMP. MÁXIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 +"--option=HT4") grep -m4 '
TEMP. MÁXIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 ;; "--option=PC4") grep -m4 '/imgs/pixel.gif" width="30px" height="10px" border="0"/>' ~/.brweather/cache/cache | cut -f2 -d'>' | cut -f1 -d'<' | sed 's/ //g' | tail -n1 | sed 's/%//g' ;; "--option=umid4") grep -m4 '
15h00
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=SOLN4") grep -m4 '
NASCER DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 +"--option=SOLN4") grep -m4 '
NASCER DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=SOLP4") grep -m4 '
PÔR DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 +"--option=SOLP4") grep -m4 '
PÔR DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=LT5") grep -m5 '
TEMP. MÍNIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 +"--option=LT5") grep -m5 '
TEMP. MÍNIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 ;; -"--option=HT5") grep -m5 '
TEMP. MÁXIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 +"--option=HT5") grep -m5 '
TEMP. MÁXIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 ;; "--option=PC5") grep -m5 '/imgs/pixel.gif" width="30px" height="10px" border="0"/>' ~/.brweather/cache/cache | cut -f2 -d'>' | cut -f1 -d'<' | sed 's/ //g' | tail -n1 | sed 's/%//g' ;; "--option=umid5") grep -m5 '
15h00
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=SOLN5") grep -m5 '
NASCER DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 +"--option=SOLN5") grep -m5 '
NASCER DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=SOLP5") grep -m5 '
PÔR DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 +"--option=SOLP5") grep -m5 '
PÔR DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=LT6") grep -m6 '
TEMP. MÍNIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 +"--option=LT6") grep -m6 '
TEMP. MÍNIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 ;; -"--option=HT6") grep -m6 '
TEMP. MÁXIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 +"--option=HT6") grep -m6 '
TEMP. MÁXIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 ;; "--option=PC6") grep -m6 '/imgs/pixel.gif" width="30px" height="10px" border="0"/>' ~/.brweather/cache/cache | cut -f2 -d'>' | cut -f1 -d'<' | sed 's/ //g' | tail -n1 | sed 's/%//g' ;; "--option=umid6") grep -m6 '
15h00
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=SOLN6") grep -m6 '
NASCER DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 +"--option=SOLN6") grep -m6 '
NASCER DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=SOLP6") grep -m6 '
PÔR DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 +"--option=SOLP6") grep -m6 '
PÔR DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=LT7") grep -m7 '
TEMP. MÍNIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 +"--option=LT7") grep -m7 '
TEMP. MÍNIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 ;; -"--option=HT7") grep -m7 '
TEMP. MÁXIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 +"--option=HT7") grep -m7 '
TEMP. MÁXIMA
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'C' | sed 's/º//g' | tail -n1 ;; "--option=PC7") grep -m7 '/imgs/pixel.gif" width="30px" height="10px" border="0"/>' ~/.brweather/cache/cache | cut -f2 -d'>' | cut -f1 -d'<' | sed 's/ //g' | tail -n1 | sed 's/%//g' ;; "--option=umid7") grep -m7 '
15h00
' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=SOLN7") grep -m7 '
NASCER DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 +"--option=SOLN7") grep -m7 '
NASCER DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; -"--option=SOLP7") grep -m7 '
PÔR DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 +"--option=SOLP7") grep -m7 '
PÔR DO SOL' ~/.brweather/cache/cache | cut -f4 -d'>' | cut -f1 -d'<' | tail -n1 ;; "--option"* ) echo "Opção inválida. Experimente --help para mais informações." -- cgit v1.2.3