[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enhancement: bash should have uniform escape syntaxes for `echo -e`,
From: |
Eric Blake |
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 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
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-Apple-Darwin
>
> Bash Version: 4.3
> Patch Level: 30
> Release Status: release
>
> 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.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature