diff options
author | Hari Hendaryanto <hari.hendaryanto@gmail.com> | 2018-09-21 14:38:18 +0700 |
---|---|---|
committer | Hari Hendaryanto <hari.hendaryanto@gmail.com> | 2018-09-21 14:38:18 +0700 |
commit | 9e091db3865b9330ed965a180650d54a5fcbf14f (patch) | |
tree | 961d6fbc2745a591ba4d2ee9a8e57139193bea7a | |
parent | 0a58209b8cfca34e6c095ed5d799cab46017fe9f (diff) |
Fux Content recursive
-rw-r--r-- | e3372-readsms.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/e3372-readsms.sh b/e3372-readsms.sh index 0af2f5b..2371de9 100644 --- a/e3372-readsms.sh +++ b/e3372-readsms.sh @@ -9,7 +9,7 @@ curl -s -X POST "http://$MODEM_IP/api/sms/sms-list" -H "Cookie: $COOKIE" -H "__R #cat modem_status.xml -message=$(cat modem_status.xml | grep Content | sed -e 's/<[^>]*>//g') +message=$(grep -r Content modem_status.xml | sed -e 's/<[^>]*>//g') #message=$(echo $message | sed -e 's/^[[:space:]]*//') |