[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Espace characters need -e, wrong behaviour
From: |
Nico Schottelius |
Subject: |
Espace characters need -e, wrong behaviour |
Date: |
Sat, 19 Aug 2006 00:23:20 +0200 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu'
-DCONF_VENDOR='pc'
-DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H
-I. -I../bash -I../bash/include -I../bash/lib -g -O2
uname output: Linux hydrogenium 2.6.17.6-hydrogenium #1 PREEMPT Fri Jul
21 12:51:06 CEST 2006 i686 GNU/Linux
Machine Type: i486-pc-linux-gnu
Bash Version: 3.1
Patch Level: 17
Release Status: release
Description:
Bash needs -e to react on escape characters.
No other shell (afaik) does that (confirmed with dash, ksh and zsh),
nor does posix specify that behaviour:
http://www.opengroup.org/onlinepubs/009695399/utilities/echo.html
Another big problem is that people tend to use -e, which will be
printed
by other shells and brakes the output.
Repeat-By:
echo '\a'
Fix:
Please remove the need for -e and ignore -e for a some time, until
it vanished from user programs.
--
``...if there's one thing about Linux users, they're do-ers, not whiners.''
(A quotation of Andy Patrizio I completely agree with)
signature.asc
Description: Digital signature
- Espace characters need -e, wrong behaviour,
Nico Schottelius <=