|
Let me clear my doubt....I am searching for pattern A, once I get that pattern in file I take that entire line and extract its $i field(pattern B) in one variable(its not known in advance) and again start search for pattern B from start of the file. I am using awk.
Please suggest something in awk
Thanks,
|