Bug#488665: linux-image-2.6.25-2-686: cannot pass multiple arguments in #! line
Package: linux-image-2.6.25-2-686
Version: 2.6.25-3
Severity: normal
When running script which has multiple arguments in the #! line the
arguments are joined into one. This breaks scripts that require multiple
arguments passed to the interpreter.
Attaching test interpreter (test.c, to be compiled with "gcc test.c -o
test.o"), and test script to be runned by the test interpreter (test.sh)
Observed output of the script:
./test|-a -b -c|./test.sh
Expected outout of the script:
./test|-a|-b|-c|./test.sh
The interpreter test prints all its arguments interleaved with |.
This also disallows passing any arguments to scripts invoked with env.
Thanks
-- Package-specific info:
** Version:
Linux version 2.6.25-2-686 (Debian 2.6.25-3) (maks@debian.org) (gcc version 4.1.3 20080420 (prerelease) (Debian 4.1.2-22)) #1 SMP Wed May 14 16:42:03 UTC 2008
Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages linux-image-2.6.25-2-686 depends on:
ii debconf [debconf-2.0] 1.5.22 Debian configuration management sy
ii initramfs-tools [linux-initra 0.92b tools for generating an initramfs
ii module-init-tools 3.4-1 tools for managing Linux kernel mo
Versions of packages linux-image-2.6.25-2-686 recommends:
ii libc6-i686 2.7-10 GNU C Library: Shared libraries [i