Re: Man gets to be su?
"Ben Collins" wrote:
> > burrken:/home/eof# man
> > su: option requires an argument -- c
> I just tried this exact thing and had no problem. Can I ask what version
> of kernel you are running? I had some weird similar problem running the
> latest 2.3.47-pre.
Seems to be a typo in one of the latest 2.3.47pre that would cause #!
scripts with arguments to fail. (And sure enough, man has an argument)
The following fixes it: (pulled this off linux-kernel)
--- fs/binfmt_script.c~ Sat Feb 19 23:15:04 2000
+++ fs/binfmt_script.c Sun Feb 20 00:42:28 2000
@@ -47,7 +47,7 @@
i_name = cp;
i_arg = 0;
for ( ; *cp && (*cp != ' ') && (*cp != '\t'); cp++)
- /* nothing */
+ ; /* nothing */
while ((*cp == ' ') || (*cp == '\t'))
*cp++ = '\0';
Jeff Lightfoot --- jeffml at pobox.com --- http://thefoots.com/
"I see the light at the end of the tunnel now ... someone please tell
me it's not a train" -- Cracker