Re: "decent" editors (was: line ending summary: the "Breg Hudther ton Proposal")
From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2001-12-18 11:51:30 CET
On Fri, Dec 14, 2001 at 11:33:42AM -0600, Edward S. Marshall wrote:
Nope. This last one is equivalent to: tr '\012' '\015'
$ echo -en "test\nblah\n" >unix.txt
> unix->mac: tr '\012' '\015'
Nope :) See the unix->dos comment.
You can use perl for this, though:
$ perl -pe 's/\n/\r\n/' <unix.txt | hexdump -c
-- Michael Wood <mwood@its.uct.ac.za> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived 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.