shell 脚本中awk报cannot be longer than 399 bytes;
tail -n $tailline $file | grep "$keymsg" | awk -F",|:" -v identify="$envid" ..........'{print "$envid"}'
$envid是从日志中去的异常信息,比较长,执行的时候报下面错误,String 后面的... 是$envid内容的开头部分
awk: String ... cannot be longer than 399 bytes
收起