Gitiles
Code Review
Sign In
192.168.1.100
/
T106_DC
/
a0f0a4e1462a1887a9e27528bf58568b09dce9c6
/
.
/
ap
/
app
/
Script
/
scripts
/
print_errmsg.sh
blob: 4530abd5bf9a2e9b1bc234efd67f864dbf3b47b6 [
file
] [
log
] [
blame
]
#!/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}'