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.7 and 1.8

version 1.7, 2002/06/17 17:42:46 version 1.8, 2002/06/17 17:45:55
Line 11 
Line 11 
 # if you're on pauli server try /home/k/9karas/bin/wget-special  # if you're on pauli server try /home/k/9karas/bin/wget-special
 #  #
   
   # $Id$
   
 CONFIG_FILE="$HOME/.sms.sh.conf";  CONFIG_FILE="$HOME/.sms.sh.conf";
   
 if [ $# -lt 1 ]; then  if [ $# -lt 1 ]; then
Line 30  if [ -f "$CONFIG_FILE" ]; then
Line 32  if [ -f "$CONFIG_FILE" ]; then
 fi  fi
   
 if [ -z "$NAME" ]; then  if [ -z "$NAME" ]; then
         echo -n 'Enter username: '          echo -n 'Enter username: ';
         IF= read NAME          IF= read NAME;
 else  else
         echo "Using username '$NAME' from configuration file '$CONFIG_FILE'.";          echo "Using username '$NAME' from configuration file '$CONFIG_FILE'.";
 fi  fi
Line 42  if [ -z "$NAME" ]; then
Line 44  if [ -z "$NAME" ]; then
 fi  fi
   
 if [ -z "$PASS" ]; then  if [ -z "$PASS" ]; then
         echo -n 'Enter password: '          echo -n 'Enter password: ';
         IF= read PASS          stty -echo;
           IF= read PASS;
           stty echo;
           echo "<censored>"; # to write newline on output
 fi  fi
   
 echo 'Enter your message (only one line, max 420 chars, it is binary safe):'  echo 'Enter your message (only one line, max 420 chars, it is binary safe):'

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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