Hi again, i posted about printing previous lines but that wont solve any problems.. so i understand my real question is if AWK is capable of searching for different patterns in a text by running once a programm. These patterns preexist in the text file, occur while the program runs and could of...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.