You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
199 B

10 years ago
#!/bin/sh
set -e -u
if [ $# != 1 -o $1 = "-h" ]; then
echo "usage: termux-sms-send <recipient-number>"
echo "Send a SMS message given on stdin."
exit 1
fi
@TERMUX_API@ SmsSend --es recipient $1