I have been trying to figure out how to use grep
in a bash script to match from a pattern to the end of the file. The file is not always the same number of lines each time and is not always [A-Za-z0-9]
. I'm trying to migrate from a flat-file based catalog to a database.
File excerpt:
First, Last: Doe, John
ID: xxxxxxxx
...
Case Notes:
This "person" does not exist!
Please do not add him.
Thanks.
I need to grab everything from Case Notes:
to the end of file. I can't seem to find anything to help out there as there isn't an actual EOF character.
Ideas?