Diff for scripts/shell/sms/sity.sk/sms.sh between version 1.27 and 1.28
| version 1.27, 2002/06/26 10:52:53 |
version 1.28, 2002/07/02 00:55:04 |
| Line 39 if [ -z "$number" ]; then |
|
| Line 39 if [ -z "$number" ]; then |
|
| if [ -f "$ALIAS_FILE" ]; then |
if [ -f "$ALIAS_FILE" ]; then |
| echo "found."; |
echo "found."; |
| echo -n "Looking for alias '$1'... "; |
echo -n "Looking for alias '$1'... "; |
| number=`awk "/^#/ { next; } \ |
number=`awk "BEGIN { alias=tolower(\"$1\"); } \ |
| /^$1/ { if (NF > 2) { print \\$3; } \ |
/^#/ { next; } \ |
| |
// { \\$0 = tolower(\\$0); } \ |
| |
\\$0 ~ alias { if (NF > 2) { print \\$3; } \ |
| else { print \\$2; } exit; }" "$ALIAS_FILE"`; |
else { print \\$2; } exit; }" "$ALIAS_FILE"`; |
| if [ "$number" ]; then |
if [ "$number" ]; then |
| echo "found number '$number'."; |
echo "found number '$number'."; |
Platon Group <platon@platon.org> http://platon.org/
|
|