[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: \? is missing in "3.1.2.4 ANSI-C Quoting" in Bash Reference Manual
From: |
ziyunfei |
Subject: |
Re: \? is missing in "3.1.2.4 ANSI-C Quoting" in Bash Reference Manual |
Date: |
Fri, 4 Sep 2015 05:17:17 +0800 |
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!