jestrada101
Technical User
- Mar 28, 2003
- 332
How can I pull two lines with a script based on a grep?
For example, my file will have multiple lines like teh following... in random places... I want to pull "TEST" and the number below it.. how can I do that?
TEST
343000
Randome info...
TEST
454646
More Random info..
TEST
12312312
For example, my file will have multiple lines like teh following... in random places... I want to pull "TEST" and the number below it.. how can I do that?
TEST
343000
Randome info...
TEST
454646
More Random info..
TEST
12312312