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.
 
 
 
 
 
 

10 lines
197 B

#!/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