Does anyone know how to search and print out 10 or 20 lines.
Just say I have a input file call A. In the input file I have numbers 1 - 100. Each number on a new line. What I want to do is search for a number say 20. Then printed out 20, 21, 22...., up to 30 or 40.
is this possible with awk.
Just say I have a input file call A. In the input file I have numbers 1 - 100. Each number on a new line. What I want to do is search for a number say 20. Then printed out 20, 21, 22...., up to 30 or 40.
is this possible with awk.