Package: dash
Version: 0.5.4-9
Severity: important

I think the following violates SUSv3 and therefore
is very serious bug for the default /bin/sh.
Or at least this violates dash's own man page
where backquotes and $() are described as equivalents.

  0 ~>cat ~/tmp/test.sh
  #!/bin/sh

  var1="`printf '\"'`"
  var2="$(printf '\"')"

  printf "%s\n" "$var1"
  printf "%s\n" "$var2"

  0 ~>/bin/bash ~/tmp/test.sh
  "
  "

  0 ~>/bin/dash ~/tmp/test.sh
  "
  \"

  0 ~>

-- System Information:
Debian Release: 4.0
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dash depends on:
ii  libc6                  2.3.6.ds1-13etch6 GNU C Library: Shared libraries

dash recommends no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to