I have a large file, and I want to show all lines after a match. Right now I am doing this:
cat file | grep -A99999 "FOO"
Basically this command would break if that file is longer than 99999 lines, is it possible to grep all lines after a match?
I have a large file, and I want to show all lines after a match. Right now I am doing this:
cat file | grep -A99999 "FOO"
Basically this command would break if that file is longer than 99999 lines, is it possible to grep all lines after a match?