Package: dash Version: 0.5.5.1-7 Severity: normal According to POSIX[0], “the pathname resulting from tilde expansion shall be treated as if quoted to prevent it being altered by field splitting and pathname expansion.” However:
$ bash -c 'HOME="foo bar"; printf "<%s> " ~; echo' <foo bar> $ dash -c 'HOME="foo bar"; printf "<%s> " ~; echo' <foo> <bar> [0] http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_01 -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dash depends on: ii debianutils 3.4.1 Miscellaneous utilities specific t ii dpkg 1.15.8.5 Debian package management system ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib -- Jakub Wilk
signature.asc
Description: Digital signature

