On Wednesday, Feb 12, 2003, at 11:52 Europe/London, Jonathan Peterson wrote:
Google says: http:[EMAIL PROTECTED]/msg00183.htmlbash: ./bad.pl: bad interpreter: No such file or directory
Which doesn't really explain why -w on the shebang line fixes the problem. Sounds like some RedHat weirdness to me, either a messed up bash or maybe some weird environment stuff. What happens if you try the experiment running from a sh shell or a ksh shell or something?
By typing -w he has probably overwritten the ^M.
I am sure its as simple as that. -- Steve Mynott <[EMAIL PROTECTED]>