[PATCH 0 of 1] test-treediscovery.t

Christian Ebert blacktrash at gmx.net
Thu May 5 18:50:40 CDT 2011


* Augie Fackler on Thursday, May 05, 2011 at 17:34:13 -0500
> On May 5, 2011, at 2:12 PM, Peter Arrenbrecht wrote:
>> On May 5, 2011 6:32 PM, "Augie Fackler" <durin42 at gmail.com> wrote:
>>> I'm curious if this passed for you with your escaping. If it did, then
>>> maybe our shells have different escaping logic? Does it pass my way
>>> for you? Just trying to avoid an edit war on this \.
>> 
>> Strangely I had to add the double escape. I tried without it at first too.
>> Ubuntu here.
>> -parren
> 
> In doing some experimentation with one of my fellow project hosting hackers, we determined the following results:
> 
> dash$ echo '\\n' # prints a newline
> dash$ /bin/echo '\\n'
> \\n
> bash$ echo '\\n'
> \\n
> bash$ /bin/echo '\\n'
> \\n
> 
> So I think it's a dash bug?

Perhaps it can be worked around by using printf instead of echo?

c
-- 
Die Wolke Wolfgang
Eine Kindergeschichte mit Bildern. Von Michael Weber.
Das Buch   -->> http://www.blacktrash.org/baustellen#wolkewolfgang
Online     -->> http://www.blacktrash.org/wolkewolfgang


More information about the Mercurial-devel mailing list