Hello, im new to the forum and to AWK...
is it pls possible to search for a pattern and print a previous line? I tried to do that by decrementing NR but
it didnt work of course. To be more specific, say that i
find a pattern on line X and if that happens i need to
print or store a field of line X-3 etc.
thank you in advance
Yannis
is it pls possible to search for a pattern and print a previous line? I tried to do that by decrementing NR but
it didnt work of course. To be more specific, say that i
find a pattern on line X and if that happens i need to
print or store a field of line X-3 etc.
thank you in advance
Yannis