On Wed, 8 Jan 2003, Peter Johnson wrote:

>
> Hi all,
>
> I have a small problem and was hoping that someone else out there has
> experienced and resolved it for themselves at some stage in the past.
>
> Basically, whenever I attempt to execute a script it dies with the 'bad
> interpreter: Permission denied' catch-cry. So far this is sh and perl
> files i.e. files beginning with "#!/bin/sh" or "#!/usr/bin/perl".

Hi Peter,

I don't know if the following applies to your situation, but I had this
exact error message appear on me when I tried to run some perl-scripts
I had originally written on a Windows box at work. The solution was to
run something like dos2unix or another utility that converts line-endings
from the Windows convention to the Unix convention.

Maybe you're getting bitten by the same bug...

HTH

Grx HdV

-- 
Support bacteria -
they're the only culture some people have.

J.A. de Vries aka HdV
Delft University of Technology
Computing Centre

Email: [EMAIL PROTECTED]
Email: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to