Dear script writers,
Is there a way to sort the data in the attached file (using a script) where the oldest data is on the top, and the latest data is at the bottom? It would have to processed, keeping the "blocks" of data together and using the date info from the ".ER" lines.
A ".ER" line is the begining of a block of data. The spacing and format of the data can't be changed. Just need to blocks sorted. The date information is in the "ER" lines, as as follows:
.ER LAWV2 0224 E DC201602241659
Tools must be out of the box Redhad Linux. I know I have python, awk, shell script stuff. Whatever works the best...
Thanks for your help!