Package: dash Version: 0.5.2-5 Severity: minor Hi,
dash does not handle NUL characters in scripts gracefully. To reproduce this, create the following script: echo 'foo^@' echo 'bar^@' echo 'baz^@' The characters depicted here as ^@ should be single NUL characters. When run in dash, this script generates the following output: foo bar t.sh: 5: Syntax error: Unterminated quoted string (Please note that the third line is referred to as line 5, and the error message is also somewhat confusing.) The code in input.c around line 304 as well as various comments indicate that the intention is that NUL characters are silently ignored, but it seems that this doesn't always work. Cheers, Martin -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (200, 'unstable') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.11-9-amd64-k8 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages dash depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an dash recommends no packages. -- debconf information: * dash/sh: true -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]