optus-websms - send a SMS using Optus' http://www.optuszoo.com.au/ website
echo message | optus-websms numbers
The Optus Web SMS allows sending to many networks, including Optus, Telstra, Orange and Vodafone within Australia and many networks outside Australia. See http://www.optuszoo.com.au/ for more details.
This program is a simple interface to the Optus Web SMS service available to authorized users from the http://www.optuszoo.com.au/ website.
The Optus Web SMS service has Terms and Conditions and you should understand these before your configure this tool to use your account.
This program will exit with a zero exit status upon success. No output is produced on stdout.
This program will exit with a non-zero exit status if there was an error, with details on standard error.
If no file is given with the --rc option, the following locations are checked (in order) and the first match is used.
This two line file must contain your phone number (all digits, no spaces) on the first line and your password (accepted as-is) on the second line.
Send a congratulatory message to the author:
echo Congratulations, Mark | optus-websms 0411262316
Same as above, but using --message option:
optus-websms --message "Congratulations, Mark" 0411262316
Announce a meeting to a three phones:
echo Meeting at 2pm in room 42 | optus-websms 0411111111 0422222222 0433333333
Report a disk space problem to the sysadmin, with part of the df output, truncated to fit in a single SMS:
df | optus-websms --truncate --message "Space low: " 0411111111
See what that message would look like:
df | optus-websms --test --truncate --message "Space low: " 0411111111
Copyright (C) 2003 Mark Suter <suter@humbug.org.au>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA or from http://www.gnu.org/licenses/gpl.txt