blob: 5ac323dc60169da973c2e16d26358c1bbab0d239 [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001#!/bin/sh
2
3line=`grep "^$1" -n /sbin/app_errmsg.txt | awk -F: '{print $1}'`
4awk -F= -v c=$2 -v n=$line '(NR - n == c) {print $2}' /sbin/app_errmsg.txt