Re: inserting carriage return characters
On Friday 31 May 2002 11:01 pm, Sean 'Shaleh' Perry wrote:
> On 01-Jun-2002 Paul E Condon wrote:
> > What is a simple way to insert a carriage return character just before
> > each line feed (new line) character in a text file?
> in other words, make it look like a Windows text file? The sysutils
> package has two utilities -- 'fromdos' which removes ^M and 'todos' which
> adds them.
useful information. i was torn about responding, reluctant to accommodate the
devil's formats, revelling in the fact that whenever i have to deal with him,
i get to name the price. the quality of the sysutils package is yet another
reason to appreciate gnu/linux. i'd only ever used it for memtest. a couple
of years back, in a semi-drunken discussion on the merits of *nix/linux, i
made a claim that there was nothing the devil could do that *nix/linux
couldn't undo. more ammo. thanks, sean.
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org