Package: dash
Version: 0.5.4-12
Severity: important

The dash's built-in echo command expands \nnn-style sequences, like 
this:

 $ echo 'a\165b'
 aub

No other shells I know does that.  The result is *very* difficult to 
find bugs elsewhere, hence the severity.

With introduction of dash as default /bin/sh, the importance of this
issue increases.

See also #379227 and #489705 which are the same issue.

Most modern shells has an option to turn on that escape sequence 
expansion, -e, and recognizes more escape sequences (like \xnn 
hexadecimal sequences, \n\r\t symbolic sequences and so on).

See also http://marc.info/?l=linux-kernel&m=125509847805427&w=2 - an 
un-imaginable, or even impossible bug in kernel which, after almost a 
week (and a difficult week it was) turned out to be wrong interpretation 
of `echo -ne' (it's non-standard so there's no requiriment to support 
this option in dash, yet most other modern shells supports it as 
mentioned above), and also 
http://marc.info/?l=linux-kernel&m=125511756906369&w=2

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (990, 'stable'), (60, 'testing'), (50, 'unstable'), (1, 
'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.31-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dash depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries

dash recommends no packages.

dash suggests no packages.

-- debconf information:
* dash/sh: true



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to