Path: csiph.com!xmission!news.glorb.com!usenet.stanford.edu!not-for-mail 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: Fri, 4 Sep 2015 05:17:17 +0800 Lines: 18 Approved: bug-bash@gnu.org Message-ID: References: <5A6BF229-3DFC-4D2E-977A-086612B9D740@qq.com> <55E716A3.1070701@case.edu> <5C938A0B-E5C0-4C8A-AA48-2C65E77DCAAA@qq.com> <55E89A59.2080406@case.edu> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: usenet.stanford.edu 1441315059 30223 208.118.235.17 (3 Sep 2015 21:17:39 GMT) X-Complaints-To: action@cs.stanford.edu Cc: bug-bash@gnu.org To: chet.ramey@case.edu Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201307; t=1441315041; bh=Zuo6Ih0PQFdfF7iy20nmuDPL/stn6e5gGy0euhSkhjI=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To; b=h0AnC36CDo9MN+Nnxp/1FQi6jvpz9/MFrUrS4CMelaArfAPGwQRUKqY2dSfdmM7xt 8C0XvKZs0ztopDT9XtIph/aIrh9M2r9Jp5NxH+9u1LNXlEsVHBc1Vs5Ee0ZnzEZ0dj AVSQpQcQ/Y4wsFj+3z39cV/SZrDPhqgdjopHY2LE= X-QQ-mid: esmtp27t1441315039t159t12485 X-QQ-SSF: 0100000000000010F0K01600000000G X-QQ-FEAT: jLTfbrzLdoNVvRgs9x5JdW4rp5fy8Lxd4zmjA0/lKCB5ZqkY1OI8A8sN34vw2 cGKKnTJBiceB/XqwRHAcFEBHH9DqNbj5cqTMEIjXhS2uUEN2rx5Nu+VPK3ofRrQqwNvldHa y8JR9YOSnmxfN4Ak4vfefPHRK+QJWXzTkHcsaHJr7412Ljs3dhA4tuBan26nWuNoBk+RcFi BtTrdnuRsRoWBPpu2u/MXLoIQP7XaQMs= X-QQ-GoodBg: 0 In-Reply-To: <55E89A59.2080406@case.edu> X-Mailer: Apple Mail (2.1878.2) X-QQ-SENDSIZE: 520 X-QQ-Bgrelay: 1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 54.204.34.130 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com gnu.bash.bug:11481 On Sep 4, 2015, at 3:07 AM, Chet Ramey 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!