If I understand it correctly,
the hard part is converting a paragraph into a string and back again.
Here is a suggestion:
To each sequence of vertical strokes add one more.
Change each newline into a vertical stroke.
Sort the strings.
Change them back into paragraphs.
Not sure how to do any of that with awk.
I'd use python.
--
Michael hennebry@xxxxxxxxxxxxxxxxxxxxx
"SCSI is NOT magic. There are *fundamental technical
reasons* why it is necessary to sacrifice a young
goat to your SCSI chain now and then." -- John Woods
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org