diff options
author | Hari Hendaryanto <hari.hendaryanto@gmail.com> | 2018-09-22 11:31:57 +0700 |
---|---|---|
committer | Hari Hendaryanto <hari.hendaryanto@gmail.com> | 2018-09-22 11:31:57 +0700 |
commit | 2984154565b5fdd742b96d6d8f77b30a5a0b114d (patch) | |
tree | 28db10a7ccc504f451ed975899200f0d4c4341a2 | |
parent | 8702e30a619b18353ec3e47c832a737d850c1765 (diff) |
Cleanup code
-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 fbf44b6..82a1595 100644 --- a/e3372-readsms.sh +++ b/e3372-readsms.sh @@ -9,6 +9,6 @@ curl -s -X POST "http://$MODEM_IP/api/sms/sms-list" -H "Cookie: $COOKIE" -H "__R #cat modem_status.xml -message=$(grep -r Content modem_status.xml | sed -e 's/<[^>]*>//g' | sed "s/^[ \t]*/\n/g") +message=$(grep -r Content modem_status.xml | sed -e 's/<[^>]*>//g' | sed -e 's/^[ \t]*/\n/g') echo "$message\n" |