#!/bin/sh # # recipient format: # sms TELEPHONENUMBER COMMENT... # one per line set -e msg="$1" rcpt="$2" gammu sendsms TEXT "$rcpt" -text "$msg"