Package: dash
Version: 0.5.4-3
Severity: normal

According to POSIX[*], "test \( ! -e \)" is a 4-argument test and is
here equivalent to "test ! -e". But dash (like ksh93 and bash) yields
an error:

$ test \( ! -e \) || echo $?
test: 1: closing paren expected
2
$ test ! -e || echo $?
1

The "test" utility from the Coreutils is correct:

$ /usr/bin/test \( ! -e \) || echo $?
1

[*] http://www.opengroup.org/onlinepubs/009695399/utilities/test.html

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages dash depends on:
ii  libc6                         2.7-4      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