GNU bug report logs - #32703
echo_man_error

Previous Next

Package: coreutils;

Reported by: "1064240043" <szq1064240043 <at> qq.com>

Date: Tue, 11 Sep 2018 15:19:02 UTC

Severity: normal

Tags: moreinfo

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "1064240043" <szq1064240043 <at> qq.com>
Subject: bug#32703: closed (Re: bug#32703: echo_man_error)
Date: Mon, 24 Sep 2018 02:49:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#32703: echo_man_error

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 32703 <at> debbugs.gnu.org.

-- 
32703: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32703
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Pádraig Brady <P <at> draigBrady.com>
To: Eric Blake <eblake <at> redhat.com>, 1064240043 <szq1064240043 <at> qq.com>,
 32703-done <at> debbugs.gnu.org
Subject: Re: bug#32703: echo_man_error
Date: Sun, 23 Sep 2018 19:48:12 -0700
[Message part 3 (text/plain, inline)]
On 11/09/18 11:07, Eric Blake wrote:
> On 9/11/18 11:01 AM, Eric Blake wrote:
> 
>> $ POSIXLY_CORRECT=1 /bin/echo a\\nb
>> a\nb
>>
>> Yikes!  Even though we asked for POSIX correctness, we are NOT 
>> interpreting backslashes.  I think this is a bug in GNU coreutils' echo, 
>> and could be fixed by the patch below (but the testsuite would also need 
>> updates).

I'll push the attached later.
Interesting there were no echo tests until now.

Marking this as done.

cheers,
Pádraig.


[echo-posix.patch (text/x-patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: "1064240043" <szq1064240043 <at> qq.com>
To: "bug-coreutils" <bug-coreutils <at> gnu.org>
Subject: echo_man_error
Date: Tue, 11 Sep 2018 19:32:54 +0800
[Message part 6 (text/plain, inline)]
In Manual page echo(1)


it says '-E disable interpretation of backslash escapes (default)'


but I tried and found out that enable(-e) is default.
[Message part 7 (text/html, inline)]

This bug report was last modified 6 years and 266 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.