Package: dash
Version: 0.5.5.1-7.4
Severity: normal

In bash -e flag is required to enable interpretation of escape sequences. dash 
doesn't take such argument. 
The result is that there is no common syntax for echo with escape sequences in 
the the two shells:

> /bin/sh.distrib -c 'echo -e; echo "\n"'
>
> \n

> /bin/dash -c 'echo -e; echo "\n"'
> -e
>

My suggestion is to add a no-op -e flag to dash. If that's too ugly, then 
perhaps stronger compatibility warning should be displayed during upgrade?

-- System Information:
Debian Release: 6.0
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.18-028stab070.14 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages dash depends on:
ii  debianutils                   3.4        Miscellaneous utilities specific t
ii  dpkg                          1.15.8.10  Debian package management system
ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared lib

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