fixed escaped characters conversion from fetched sms
Changes to be committed: modified: scripts/modem/sxmo_modem.sh Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:

committed by
Maarten van Gompel

parent
ae7fd89b46
commit
05fd5112d5
@@ -202,7 +202,7 @@ checkfornewtexts() {
|
|||||||
stderr "WARNING: mmsdtng not found or unconfigured, treating as normal sms."
|
stderr "WARNING: mmsdtng not found or unconfigured, treating as normal sms."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
TEXT="$(echo "$TEXTDATA" | grep sms.content.text | sed -E 's/^sms\.content\.text\s+:\s+//')"
|
TEXT="$(printf %b "$TEXTDATA" | grep sms.content.text | sed -E 's/^sms\.content\.text\s+:\s+//')"
|
||||||
NUM="$(
|
NUM="$(
|
||||||
echo "$TEXTDATA" |
|
echo "$TEXTDATA" |
|
||||||
grep sms.content.number |
|
grep sms.content.number |
|
||||||
|
Reference in New Issue
Block a user