Cleanup code

This commit is contained in:
Hari Hendaryanto 2018-09-22 11:31:57 +07:00
parent 8702e30a61
commit 2984154565

View File

@ -9,6 +9,6 @@ curl -s -X POST "http://$MODEM_IP/api/sms/sms-list" -H "Cookie: $COOKIE" -H "__R
#cat modem_status.xml #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" echo "$message\n"