Package: dash
Version: 0.5.2-4
Severity: normal

The following three commands work as expected:

   2>/tmp/x echo
   echo 2>/tmp/x
   echo 12>/tmp/x

However, this doesn't:

   12>/tmp/x echo
   sh: 12: not found

It seems that dash has problems with redirections at the beginning of a
command, but only when the fd is >= 10, smaller fd's seem to work fine.

I *think* this is a bug, but couldn't quite prove it (chapter 2 of susv3
is a mess...). However, bash seems to have no problems with it, so it
seems it would be sane behaviour to allow this redirection.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (700, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-rc2
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages dash depends on:
hi  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an

-- debconf information:
* dash/sh: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to