Gitiles
Code Review
Sign In
192.168.1.100
/
T106_DC
/
0477861747fcd4bea3ed00adc5e0723f01d2f174
/
.
/
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}'