[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: possibly off-toipc: Text file converter for other platforms
On Mar 20, 8:24 am, "Michael J. Mahon" <mjma...@aol.com> wrote:
> > Emacs can do it. C-space at one corner of the rectangle, move to the other.
> > C-x r k
>
> Emacs can do *anything*! ;-)
Well, yes, since rather than being a text editor, it's a platform
whose user interface is a text editor :-)
Watching an Emacs 'nutter' who uses it to read email, post to news,
browse the web, as a terminal emulator, etc. is truly a sight to
behold.
While I do love my Emacs, I've always been fond of the good old vi way
of doing line delimiter converstion:
DOS->UNIX: :%s/^V^M//
UNIX->DOS: :%s/^V^L/&^M/
Which you can also pull off with sed, awk, etc from a shell prompt.
Yes, you can do this with Emacs as well, but hauling a 100mb text
editor into memory just to do a line conversion offends the aesthetics
of many UNIX people :-)
Matt