[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-14 18:33:42 CET

On Thu, Dec 13, 2001 at 03:05:39PM -0800, Greg Stein wrote:
> I don't know the name of the program on my linux box to do newline
> conversions. I don't know how to execute it. Yes, I could dig around
> (somebody mentioned "dos2unix", maybe that is a lead). And are there similar
> tools available to me on Windows?

Just for giggles, here's a handy set of convertions for people who deal with
this stuff regularly:

dos->unix: tr -d '\015'
dos->mac: tr -d '\012'
unix->dos: tr '\012' '\015\012'
unix->mac: tr '\012' '\015'
mac->unix: tr '\015' '\012'
mac->dos: tr '\015' '\015\012'

(Yes, I'm being obtuse and ignoring your point entirely. *grin*)

-- 
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.