Hi
I have a line/command which greps certain pattern ([435]) from the file and 22 lines AFTER that:
nawk '/\[435\]/{c=22}c&&c--' input_file
Can somebody explain the coding in this command (what " c&&c-- " does)? and how to modify this command to output 22 lines BEFORE this pattern ([435]) Thanks a lot -A