Diff for scripts/shell/sms/sity.sk/sms.sh between version 1.21 and 1.22
| version 1.21, 2002/06/24 21:53:19 |
version 1.22, 2002/06/25 09:11:08 |
| Line 25 TMP_FILE=`tempfile -p sms. -s .html \ |
|
| Line 25 TMP_FILE=`tempfile -p sms. -s .html \ |
|
| if [ $# -lt 1 ]; then |
if [ $# -lt 1 ]; then |
| echo -e "Usage:\n $0 <number-or-alias>\n"; |
echo -e "Usage:\n $0 <number-or-alias>\n"; |
| echo "Message is taken from standart input. Use special characters with care."; |
echo "Message is taken from standart input. Use special characters with care."; |
| echo "Spaces are properly handled."; |
echo "Spaces are handled properly."; |
| exit 1; |
exit 1; |
| fi |
fi |
| |
|
| Line 69 if [ -f "$CONFIG_FILE" ]; then |
|
| Line 69 if [ -f "$CONFIG_FILE" ]; then |
|
| else { print $2; } exit; }' "$CONFIG_FILE"`; |
else { print $2; } exit; }' "$CONFIG_FILE"`; |
| fi |
fi |
| |
|
| echo -n "Looking for alias 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."; |
| echo -n "Looking for username... "; |
echo -n "Looking for username... "; |
Platon Group <platon@platon.org> http://platon.org/
|
|