Path: utzoo!attcan!uunet!cs.utexas.edu!wuarchive!udel!princeton!jonlab!jon From: jon@jonlab.UUCP (Jon LaBadie) Newsgroups: comp.unix.questions Subject: Re: Reversing a file? Summary: I sent mail but, ... Message-ID: <810@jonlab.UUCP> Date: 8 Oct 89 06:40:50 GMT References: <1224@virtech.UUCP> Organization: 4455 Province Line Rd., Princeton, NJ 08540 Lines: 24 A posting asked about how to reverse the sequence of the lines of a file. Generally, my news feed is delayed by 3 - 5 days so I do not post responses to the net, but mail to the poster directly. I assume the answer will be provided by someone else before my posting would ever make it to the net. However, in this case, no one seems to have posted the (IMHO) elegant solution I would propose. Thus, my suggestion for: HOW DO YOU REVERSE THE LINES OF A FILE? ed - ${1} <