Gitiles
Code Review
Sign In
192.168.1.100
/
T106_DC
/
fad3b9378e0664eda351b8650e2fa2d6b0b1da23
/
.
/
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