Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.stanford.edu!not-for-mail From: Eric Blake Newsgroups: gnu.bash.bug Subject: Re: Enhancement: bash should have uniform escape syntaxes for `echo -e`, `printf` and `$'ANSI_C_style_escape'`. Date: Mon, 10 Aug 2015 13:28:02 -0600 Organization: Red Hat, Inc. Lines: 47 Approved: bug-bash@gnu.org Message-ID: References: <523431b6.2c9.14f18e12b67.Coremail.arthur200126@163.com> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="i8HA3n35E2Pk6IxFVSUVVLJG8OkMgAfkF" X-Trace: usenet.stanford.edu 1439235020 20926 208.118.235.17 (10 Aug 2015 19:30:20 GMT) X-Complaints-To: action@cs.stanford.edu To: Arthur200000 , "bug-bash@gnu.org" Envelope-to: bug-bash@gnu.org Openpgp: url=http://people.redhat.com/eblake/eblake.gpg User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 In-Reply-To: <523431b6.2c9.14f18e12b67.Coremail.arthur200126@163.com> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1439235013; bh=fIrbY0iW7zIo/8bCYK85ZECULzdljP8NRyjDn+7B6aA=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=iKRedKKNRwxriJ8IN1wLZwu/3cKyoebFTUOWdaLkIl0F+edOznDNNKwCQ6FFMUnHi PWV0g806lRcxUUykdbPoSRedk3x+41lWAFTJt30QXx70Iadlkdxevw66ojPV7lAksS K7oh4hnL1wDkN2Ju4D/1prNOQJsHbB7lzARTY4H9cq045EzEe/JXIVbil7jY7AdBIk 8vYNfO5792jYXhLKJNCDuwKTr/YPqcsTiIt9KfUxhQKlx1dHqkKlEO/oSEZDMdokC7 aHZinjXlsRR+bPV43ngc/XHGPmZz4oh6kwA0jRxUnfjWR0ZboIJ6sTQ7CTqBwgt0zO 0ZQlt/rS7kvhg== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 69.252.207.35 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:11316 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --i8HA3n35E2Pk6IxFVSUVVLJG8OkMgAfkF Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 08/10/2015 12:30 PM, Arthur200000 wrote: > Configuration Information: > Machine Type: i686-pc-cygwin, i686-pc-msys, x86_86-linux-gnu, x86_64-Ap= ple-Darwin >=20 > Bash Version: 4.3 > Patch Level: 30 > Release Status: release >=20 > Description: > Bash has different escape syntaxes for `echo -e`, 'echo -e' is inherently non-portable, and exists solely for backwards compatibility. As such, it is unlikely to be changed. POSIX strongly recommends that you use 'printf' instead. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --i8HA3n35E2Pk6IxFVSUVVLJG8OkMgAfkF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVyPtCAAoJEKeha0olJ0NqA38IAJ7gi6e/nXgE4WxGw/tVMwZi s4dahVbfHbuTkMzE2XLdDYWTXGJWrbXR/qn0xGZbekqQb0wPPRTPH/vr+1Cjdlr3 rIswmL/CYe/7G79w9IRc23DWUCP2RF7nkEtwDI0Kihl/yTn8Eti48QuXzu8FN9Mp 2DCI44ja6XrRvlGB3n2Vd6oyI4VNrU1NHZoF1Ia+BUk5ZPtttQ+QK3RO5sMG+Oya G6z7weIoQiG2v4vKCGWbXSngsfmmaRKIHsYeRuhJVCRpLqOkXWEPW7oW01Zv+Z7b KQaKR0eQYmaQiUXuKzIPdvrE/prEAIvVhNjzhrSEK0IYW+kCzVblo21q0nS6K4w= =UyIu -----END PGP SIGNATURE----- --i8HA3n35E2Pk6IxFVSUVVLJG8OkMgAfkF--