Gitiles
Code Review
Sign In
192.168.1.100
/
R306
/
5dec5e7d0ca055c66338541af5f9ebab46c3f65a
/
.
/
ap
/
app
/
Script
/
scripts
/
get_errinfo.sh
blob: 5ac323dc60169da973c2e16d26358c1bbab0d239 [
file
] [
log
] [
blame
]
#!/bin/sh
line
=
`grep "^$1" -n /sbin/app_errmsg.txt | awk -F: '{print $1}'`
awk
-
F
=
-
v c
=
$2
-
v n
=
$line
'(NR - n == c) {print $2}'
/
sbin
/
app_errmsg
.
txt