This is the mail archive of the
mailing list for the Cygwin project.
Re: /usr/bin/env - Incorrect parsing of #! line?
- From: "David Gluss" <dgluss at marple-tech dot com>
- To: "Peter J. Acklam" <pjacklam at online dot no>
- Cc: <cygwin at cygwin dot com>
- Date: Tue, 12 Feb 2002 17:31:03 -0800
- Subject: Re: /usr/bin/env - Incorrect parsing of #! line?
The problem looks to be that bash "helps out" the system
by executing scripts beginning with #!. In the source for
bash, look in execute_cmd.c, line 3369. Only one argument
is allowed. So e.g. #!/usr/bin/env perl -w becomes
"/usr/bin/env" "perl -w"
If I make a patch for this, should it go to the cygwin list?
Should it just go to gnu.bash.bug and leave it at that?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html