blob: 5ac323dc60169da973c2e16d26358c1bbab0d239 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -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