Package: bash Version: 3.1-4 Severity: normal
Try the following script: #!/bin/bash while read r; do echo "line" echo $r done < <(grep root /etc/passwd) # End of script This is a valid script and executes ok, but if run with 'sh -x /tmp/script', I get: sh -x /tmp/script /tmp/script: line 5: syntax error near unexpected token `<' /tmp/script: line 5: `done < <(grep root /etc/passwd)' -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-amd64-k8 Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8) Versions of packages bash depends on: ii base-files 3.1.13 Debian base system miscellaneous f ii debianutils 2.16.1 Miscellaneous utilities specific t ii libc6 2.3.6-13 GNU C Library: Shared libraries ii libncurses5 5.5-2 Shared libraries for terminal hand bash recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

