cvs commit: src/sys/kern imgact_shell.c

Garance A Drosehn gad at FreeBSD.org
Thu Jun 9 16:00:23 GMT 2005


At 5:08 AM -0500 6/9/05, Matthew D. Fuller wrote:
>On Wed, Jun 08, 2005 at 08:36:20PM -0400 I heard the voice of
>Kris Kennaway, and lo! it spake thus:
>>  On Thu, Jun 09, 2005 at 12:27:02AM +0000, Garance A Drosehn wrote:
>>  >   Log:
>>  >   Remove the previous parsing-logic for arguments on the '#!'-line
>>  >   of shell scripts.  As far as I know, no one has needed the
>>  >   '#!#<' kludge to get at the behavior implemented by the
>>  >   historical parsing.
>>
>>  There have been some curious package build failures, but I haven't
>>  had time to investigate them.  It's possible that they may have been
>>  related.
>
>See also the "pear broken on current" thread on -current and -ports
>around last weekend.  Of course, I don't know if pear is wrong in what
>it's trying to do, but the change does appear to throw it off.

Hmm.  Well, I am extremely tempted to add a new feature to
/usr/bin/env which could be used in situations where the previous
parsing-behavior was needed.  The '#!#<' behavior was really meant
just as an emergency stop-gap -- and it won't go away until the next
time you cvsup...  :-)

I'm also willing to write some more changes to sh/options.c, if that
is the best place to fix the problems that these ports are running
into.

-- 
Garance Alistair Drosehn     =      gad at gilead.netel.rpi.edu
Senior Systems Programmer               or   gad at FreeBSD.org
Rensselaer Polytechnic Institute;             Troy, NY;  USA


More information about the cvs-src mailing list