is the $IP_FILE the name of the file that I am trying to print from:
so for me, the $IP_FILE should be: $dbDir/alarmNotificati on.log so should my call looks like this?
[code=unix]
/infra/bin/gawk -f $workDir/grepLogDebug.aw k > $dbDir/alarmNotificati on.log
[/code]
and then inside my grepLogDebug.aw k file
is my print line correct because I am still getting errors:
[code=unix]
BEGIN{
RS="";
FS="low"
}
{
printf "low debug.*\".*\"";
}
END{
[/code]
thanks
so for me, the $IP_FILE should be: $dbDir/alarmNotificati on.log so should my call looks like this?
[code=unix]
/infra/bin/gawk -f $workDir/grepLogDebug.aw k > $dbDir/alarmNotificati on.log
[/code]
and then inside my grepLogDebug.aw k file
is my print line correct because I am still getting errors:
[code=unix]
BEGIN{
RS="";
FS="low"
}
{
printf "low debug.*\".*\"";
}
END{
[/code]
thanks
Comment