FreeCalypso > hg > sms-coding-utils
comparison scripts/sms-deliver-pdu-hdr @ 17:dc1cc851025c
scripts: add support for new first octet flags
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Sun, 27 Aug 2023 07:39:14 +0000 |
| parents | b8d8f8a3cdb7 |
| children |
comparison
equal
deleted
inserted
replaced
| 16:d9d722033ff1 | 17:dc1cc851025c |
|---|---|
| 10 shift | 10 shift |
| 11 | 11 |
| 12 while [ $# != 0 ] | 12 while [ $# != 0 ] |
| 13 do | 13 do |
| 14 case "$1" in | 14 case "$1" in |
| 15 lp|mms|rp|sr) | |
| 16 echo "$1" | |
| 17 shift | |
| 18 ;; | |
| 15 pid|sc-ts) | 19 pid|sc-ts) |
| 16 if [ $# -lt 2 ] | 20 if [ $# -lt 2 ] |
| 17 then | 21 then |
| 18 echo "error: $1 requires an argument" 1>&2 | 22 echo "error: $1 requires an argument" 1>&2 |
| 19 exit 1 | 23 exit 1 |
