I need to match lines that have MAJOR and CRITICAL strings
that comes after the word ERROR:< any integer number >
please advice how to do that with one awk or sed command?
more HW_Log.txt
CHK_HW ERROR:0 INFO self_monitor Verifying HW machine
CHK_HW ERROR:1 MAJOR self_monitor Verifying HW machine
CHK_HW ERROR:1 CRITICAL self_monitor Verifying HW machine