I have multiple text files im processing with a script, the only problem is, each text file has a bunch of junk in the beginning of it that i don't need. The good thing, I think, is with each file there is a catch word named DIFF that is right before the important part of the text files.
This is usually at the end of a line after all the junk like the following.
TEST QUOTE DIFF
234234 23 23 asdf 1234 asdf (IMPORTANT DATA STARTS HERE)
I'm taking this info after the DIFF line and processing it to a comma delimited file, Can I just hunt for DIFF and start processing from there? How would I start this in a bash script.
Thanks in advance!