Diff for scripts/shell/sms/sity.sk/sms.sh between version 1.43 and 1.44
| version 1.43, 2002/09/08 20:22:46 |
version 1.44, 2002/09/12 17:58:53 |
| Line 468 while [ -z "$checkcode" ]; do |
|
| Line 468 while [ -z "$checkcode" ]; do |
|
| done |
done |
| request=`echo $request | sed "s/CHECK=[^\"]\+\"\(.*\)$/CHECK=$checkcode\&\1/g;"` |
request=`echo $request | sed "s/CHECK=[^\"]\+\"\(.*\)$/CHECK=$checkcode\&\1/g;"` |
| |
|
| echo 'Hold still, please wait at least 4 seconds to submit form.'; |
|
| # sleep 4; |
|
| # }}} |
# }}} |
| |
|
| # Checking number of free SMSs {{{ |
# Checking number of free SMSs {{{ |
| Line 483 echo "100-$smss_sent" | bc; |
|
| Line 481 echo "100-$smss_sent" | bc; |
|
| |
|
| # Read message from stdin {{{ |
# Read message from stdin {{{ |
| echo 'Enter your message (max 420 chars, end with CTRL-D):'; |
echo 'Enter your message (max 420 chars, end with CTRL-D):'; |
| |
echo 'Please wait at least 4 seconds to submit form.'; |
| text=`cat` # text from stdin, multiple lines |
text=`cat` # text from stdin, multiple lines |
| text="`echo \"$text\" \ |
text="`echo \"$text\" \ |
| | awk 'BEGIN { ORS="+" } \ |
| awk 'BEGIN { ORS="+" } \ |
Platon Group <platon@platon.org> http://platon.org/
|
|