Bug in #! processing - "pear broken on current"
Roman Neuhauser
neuhauser at sigpipe.cz
Fri Jun 10 11:28:59 GMT 2005
# des at des.no / 2005-06-10 09:27:19 +0200:
> Roman Neuhauser <neuhauser at sigpipe.cz> writes:
> > The pear people have hacked around the other OS's limitations.
> >
> > This change makes FreeBSD lose one small but fine competitive
> > advantage over other unix-like systems. Pity.
>
> Huh?
>
> Here's what pear looks like on Debian:
> #!/usr/bin/php4 -Cq
>
> SuSE uses a shell wrapper which ends in
> exec $PHP -C -q $INCARG -d output_buffering=1 $INCDIR/pearcmd.php "$@"
>
> Fedora has a similar shell wrapper:
> exec $PHP -C -q $INCARG -d output_buffering=1 $INCDIR/pearcmd.php "$@"
>
> so we're certainly not the only ones who need to modify pear.
>
> Take a look at this:
>
> des at cat ~% uname -a
> Linux cat 2.6.8-24.14-default #1 Tue Mar 29 09:27:43 UTC 2005 i686 athlon i386 GNU/Linux
That simply shows that all these *Linux* distros don't handle
shebang lines well.
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991
More information about the freebsd-arch
mailing list