The reverse of 'cat' is 'tac'. Really! :) man tac...
tac - concatenate and print files in reverse HTH, - Rog > -----Original Message----- > From: Michael Fox [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 16 May 2006 1:51 PM > To: [email protected] > Subject: [SLUG] Tricky text processing question.. > > I am guessing sed might help me out with the following or > maybe another util. Any suggestions welcome as the manual > processing of the files is crazy. > > I have a file like so.. > > 'blah10' > 'blah09' > 'blah08' > 'blah07' > 'blah06' > 'blah05' > 'blah04' > 'blah03' > 'blah02' > 'blah01' > > And what I want is the output into a new file to basically > flip it around > > 'blah01' > 'blah02' > .. > 'blah10' > > Would sed or something else help process this file in a quick > and easy method.. Any help appreciated > > -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
