[Bug 1141989] Re: Env fails on command line arguments

2014-12-04 Thread Geir Hauge
This is a kernel limitation. It's the kernel that parses the shebang (to the shell, it's just a commented line since it starts with a # character). It's the kernel that limits the shebang line to two words. It has nothing to do with bash nor dash. -- You received this bug notification because you

[Bug 1141989] Re: Env fails on command line arguments

2013-08-29 Thread C de-Avillez
reassigning (at least for the moment) to bash. Resetting status to NEW. ** Package changed: coreutils (Ubuntu) => bash (Ubuntu) ** Changed in: bash (Ubuntu) Status: Incomplete => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubu

[Bug 1141989] Re: Env fails on command line arguments

2013-08-29 Thread Jussi Pakkanen
This explanation makes sense and thus retargeting this bug to dash and/or bash seems like the thing to do. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1141989 Title: Env fails on command line argu

[Bug 1141989] Re: Env fails on command line arguments

2013-08-28 Thread Brian Beck
After doing some research, I tend to think that C de-Avillez (hggdh2) is correct, and that it is not the env command at fault here. However, I do think the documentation should be extended to explain or link to an explanation of the shebang line. This is a document I found helpful: http://www.in

[Bug 1141989] Re: Env fails on command line arguments

2013-08-27 Thread C de-Avillez
Thank you for opening this bug and helping make Ubuntu better. I am unsure if this is a coreutils limitation (meaning I am pretty sure it is *not*, but not absolutely so). Although 'env' does allow for parameters to the called program, 'bash', for example, limits this usage: (from 'info bash', ch

[Bug 1141989] Re: Env fails on command line arguments

2013-08-27 Thread Brian Beck
This is an important issue. It make applications less portable, and makes it more difficult to get applications running on a Linux server. For example, I have a fairly large Perl application that I would like to port from Macintosh OS X to Ubuntu Server. Each script begins with: #!/usr/bin/env

[Bug 1141989] Re: Env fails on command line arguments

2013-08-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: coreutils (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1141989 Title: