Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 19. október 2026

Rozdiely pre scripts/shell/sms/sity.sk/sms.sh medzi verziami 1.9 a 1.10

verzia 1.9, 2002/06/18 07:12:43 verzia 1.10, 2002/06/18 13:57:44
Riadok 76  GET -H "Cookie: SITY=$COOKIE" \
Riadok 76  GET -H "Cookie: SITY=$COOKIE" \
   
 smss_left=`grep "Tento mesiac" tmp2.html | sed 's/.*va \([0-9]*\) spr.*/\1/'`  smss_left=`grep "Tento mesiac" tmp2.html | sed 's/.*va \([0-9]*\) spr.*/\1/'`
   
 if [ $smss_left ]; then  if [ "$smss_left" ]; then
         echo "Message sent. $smss_left SMSs left for this month."          echo "Message sent. $smss_left SMSs left for this month."
         # delete unnecessary files, now leaving for debug..          # delete unnecessary files, now leaving for debug..
         rm tmp.html          rm -f tmp.html
         rm tmp2.html          rm -f tmp2.html
 else  else
         echo 'Something went wrong, see debug files (tmp.html, tmp2.html).'          echo 'Something went wrong, see debug files (tmp.html, tmp2.html).'
 fi  fi

Legend:
Odstranené z verzie1.9  
zmenené riadky
  Pridané vo verzii1.10

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok