Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #11481

Re: \? is missing in "3.1.2.4 ANSI-C Quoting" in Bash Reference Manual

From ziyunfei <446240525@qq.com>
Newsgroups gnu.bash.bug
Subject Re: \? is missing in "3.1.2.4 ANSI-C Quoting" in Bash Reference Manual
Date 2015-09-04 05:17 +0800
Message-ID <mailman.483.1441315058.19560.bug-bash@gnu.org> (permalink)
References <5A6BF229-3DFC-4D2E-977A-086612B9D740@qq.com> <55E716A3.1070701@case.edu> <5C938A0B-E5C0-4C8A-AA48-2C65E77DCAAA@qq.com> <55E89A59.2080406@case.edu>

Show all headers | View raw


On Sep 4, 2015, at 3:07 AM, Chet Ramey <chet.ramey@case.edu> wrote:

> I guess I see what you're saying: that bash removes the backslash quoting
> the `?' when processing $'...' but leaves backslashes escaping other
> characters not listed in the description of $'...' unchanged.  I can add
> that to the documentation.
> 
> If that's not what you mean, I guess I don't understand.  `printf %b'
> expands one set of backslash escapes, and $'...' expands a slightly
> different set, since they're trying to serve slightly different purposes
> and have different origins.  They're separate constructs and are documented
> separately.

Yes, that's what I mean. Thanks for clarifying!



Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: \? is missing in "3.1.2.4 ANSI-C Quoting" in Bash Reference Manual ziyunfei <446240525@qq.com> - 2015-09-04 05:17 +0800

csiph-web