[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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.

ben


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: