commit | 824eb0c6ade808c4501e62fbcf0025f4e694cd11 | [log] [tgz] |
---|---|---|
author | yuezonghe <zh.yue@mobiletek.cn> | Thu Jun 27 02:32:26 2024 -0700 |
committer | yuezonghe <zh.yue@mobiletek.cn> | Thu Jun 27 02:44:13 2024 -0700 |
tree | 13cee949649ece72b1c31aba2eea600eea6614d6 | |
parent | 703a1d3d22068e43b7bb3d63b3020b975fee9c3f [diff] [blame] |
zte's code,first commit Change-Id: I9a04da59e459a9bc0d67f101f700d9d7dc8d681b
diff --git a/ap/app/Script/scripts/print_errmsg.sh b/ap/app/Script/scripts/print_errmsg.sh new file mode 100644 index 0000000..4530abd --- /dev/null +++ b/ap/app/Script/scripts/print_errmsg.sh
@@ -0,0 +1,4 @@ +#!/bin/sh + +echo "error:" +grep "\<${1##0}\>" /etc_ro/errmsg.txt|sed -n "s/#define[[:blank:]]\+[a-zA-Z0-9]\+[[:blank:]]\+[0-9]\+[[:blank:]]\+\(.*\)/\1/p" |awk -F'*' '{print $2}'