[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: "decent" editors (was: line ending summary: the "Breg Hudther ton Proposal")

From: Edward S. Marshall <esm_at_logic.net>
Date: 2001-12-18 19:55:25 CET

On Tue, Dec 18, 2001 at 12:51:30PM +0200, Michael Wood wrote:
> On Fri, Dec 14, 2001 at 11:33:42AM -0600, Edward S. Marshall wrote:
> > unix->dos: tr '\012' '\015\012'
> > mac->dos: tr '\015' '\015\012'
>
> Nope. This last one is equivalent to: tr '\012' '\015'
[...]
> Nope :) See the unix->dos comment.

Aw crap. Could have sworn I tested those.

> You can use perl for this, though:

It seems even sed doesn't want to deal with translating newlines, but you
can't depend on perl being everywhere (I'm not installing perl just to
translate newlines; I'll write the necessary five lines of C to do it
first ;-). Bleh. Damnable standard UNIX utilities. ;-)

-- 
Edward S. Marshall <esm_at_logic.net>                        http://esm.logic.net/
-------------------------------------------------------------------------------
[                  Felix qui potuit rerum cognoscere causas.                  ]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:53 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.