Originally posted by: SystemAdmin
Hello,
How can I grep in a file for a line which contains "Final Lable" and ends with "proceed to the next level."
Lets say my file looks like"
Wed Testing is complete-Final Lable-1234XB proceed to the next level. complete-final This is just an extra line-proceed to the next level Thu Testing is complete-Final Lable-1234XB proceed to the next level. and I want the out put of my grep shows
Wed Testing is complete-Final Lable-1234XB proceed to the next level. Thu Testing is complete-Final Lable-1234XB proceed to the next level. please help. thank you
#AIX-Forum