Hi everyone, I have a perl/python interpreter available on the system so really as long as the script would run on a standard linux build I'll be happy.
What I have is data like follows for hundreds of lines:
blah blah unique_key
data related to previous line unique_key w/o mention of key
blah blah unique_key2
data
data
data
blah blah unique_key3
data
data
So I don't know how to program a script that would find the unique key (which if needed, can be easily stripped out and put into a separate file) and then print out the data below it without going into the other lines.
Thanks for any help or advice, sadly my awk days were 8 years ago and I've all but rusted out that knowledge