Package: dash
Version: 0.5.7-4+b1
Severity: important

Dear Maintainer,

As it says on the man page and in the POSIX standard, the single quote
is supposed to prevent escape sequences from being expanded.  It's broken:

  nr@homedog ©105/c/lambda-solo> /bin/dash
  : nr@homedog ! ; echo '\f.\x.x'

  .\x.x

For comparison, here's how /bin/ksh handles the single quote:

  : nr@homedog ! ; 
  nr@homedog ©105/c/lambda-solo> /bin/ksh
  : nr@homedog 10010 ; echo '\f.\x.x'
  \f.\x.x
  : nr@homedog 10011 ; 

This one is a showstopper for me; I have infrastructure that depends
on /bin/sh handling this correctly.

Perhaps related to bug 837789.



-- System Information:
Debian Release: 8.6
  APT prefers stable
  APT policy: (990, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dash depends on:
ii  debianutils  4.4+b1
ii  dpkg         1.17.27
ii  libc6        2.19-18+deb8u6

dash recommends no packages.

dash suggests no packages.

-- debconf information:
* dash/sh: true

Reply via email to