Package: dash Version: 0.5.4-12 Severity: normal flit:~% cat x2.sh echo $\ PATH flit:~% dash < x2.sh $PATH
According to http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html section 2.2.1 Escape Character (Backslash): If a <newline> follows the backslash, the shell shall interpret this as line continuation. The backslash and <newline>s shall be removed before splitting the input into tokens. So I expect the above script to echo the value of PATH variable. -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores) Locale: LANG=C, 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-18lenny2 GNU C Library: Shared libraries dash recommends no packages. dash suggests no packages. -- debconf information excluded -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

