Gitiles
Code Review
Sign In
192.168.1.100
/
R306
/
2dbc1526a2b84342aa5d5d2a0b7c25c960d13710
/
.
/
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}'