Package: dash
Version: 0.5.2-5
Severity: normal

Hello,

I've been frequently told that using test or [ with -a (for ANDing
conditions) is a bashism, and if I am right that
http://www.opengroup.org/onlinepubs/009695399/mindex.html describes the
POSIX standard, POSIX does not require "test" to understand this:

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

Since dash's description says:

,----
| It is also useful for checking that a script uses only POSIX syntax.
`----

I think it should not support this.  Especially since it's easy to write
it with &&.

Regards, Frank


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (99, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.16-1-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages dash depends on:
ii  libc6                 2.3.2.ds1-22sarge3 GNU C Library: Shared libraries an

-- debconf information:
  dash/sh: false

-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)


Reply via email to