Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11316
| From | Eric Blake <eblake@redhat.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Enhancement: bash should have uniform escape syntaxes for `echo -e`, `printf` and `$'ANSI_C_style_escape'`. |
| Date | 2015-08-10 13:28 -0600 |
| Organization | Red Hat, Inc. |
| Message-ID | <mailman.8090.1439235019.904.bug-bash@gnu.org> (permalink) |
| References | <523431b6.2c9.14f18e12b67.Coremail.arthur200126@163.com> |
[Multipart message — attachments visible in raw view] - view raw
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
Back to gnu.bash.bug | Previous | Next | Find similar
Re: Enhancement: bash should have uniform escape syntaxes for `echo -e`, `printf` and `$'ANSI_C_style_escape'`. Eric Blake <eblake@redhat.com> - 2015-08-10 13:28 -0600
csiph-web