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.22 and 1.23

version 1.22, 2002/06/25 09:11:08 version 1.23, 2002/06/25 13:45:52
Line 59  fi
Line 59  fi
 # equal sign '=' is not needed  # equal sign '=' is not needed
 # username, usernam userna, .. user supported  # username, usernam userna, .. user supported
 # password, ...                     supported  # password, ...                     supported
 # Hi rajo, fix your things before commiting in :-/ :  
 if [ -f "$CONFIG_FILE" ]; then  
         NAME=`awk 'BEGIN { FS="[        =]+" } /^#/ { next; } \  
                 /^user/ { if (NF > 2) { print $3; exit; } \  
                         else { print $2; } exit; }' "$CONFIG_FILE"`;  
         PASS=`awk 'BEGIN { FS="[    =]+" } /^#/ { next; } \  
                 /^pass/ { if (NF > 2) { print $3; exit; } \  
                         else { print $2; } exit; }' "$CONFIG_FILE"`;  
 fi  
   
 echo -n "Looking for config file '$CONFIG_FILE'... ";  echo -n "Looking for config file '$CONFIG_FILE'... ";
 if [ -f "$CONFIG_FILE" ]; then  if [ -f "$CONFIG_FILE" ]; then
         echo "found.";          echo "found.";

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

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