tag:blogger.com,1999:blog-6637736252081011583.post8449824227760737523..comments2023-10-23T11:13:47.199-07:00Comments on Daily Vim: Text Editor Tips, Tricks, Tutorials, and HOWTOs: Reverse Lines in a FileTravis Whittonhttp://www.blogger.com/profile/14592647486468034166noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6637736252081011583.post-55634572229569608442011-11-18T08:08:11.395-08:002011-11-18T08:08:11.395-08:00Great tip. Now if only I could remember it, rather...Great tip. Now if only I could remember it, rather than visiting this site once a month.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6637736252081011583.post-62214647554537337942008-06-24T10:05:00.000-07:002008-06-24T10:05:00.000-07:00Or you could filter the file through "tac" (the op...Or you could filter the file through "tac" (the opposite of "cat") by :%!tac.<BR/><BR/>This assumes you have the GNU coreutils on your path. Windows users will need Cygwin or something comparable.graywhhttps://www.blogger.com/profile/14008240961525657558noreply@blogger.com