Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

Diff for scripts/shell/sms/sity.sk/sms.sh between version 1.9 and 1.10

version 1.9, 2002/06/18 07:12:43 version 1.10, 2002/06/18 13:57:44
Line 76  GET -H "Cookie: SITY=$COOKIE" \
Line 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:
Removed from v.1.9  
changed lines
  Added in v.1.10

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top