On 10/11/06, Paul Johnson <[EMAIL PROTECTED]> wrote:
On Wed, Oct 11, 2006 at 04:18:04PM +0400, Mazhar wrote: > >On Wed, Oct 11, 2006 at 03:35:03PM +0400, Mazhar wrote: > > > >> 1. If i run the code /scripts/xxx.pl i get the below error... > >> > >> >>>interpreter "/usr/bin/perl" not found > >> sh: /scripts/xxx.pl: not found. > i have added /usr/bin/perl in my code and the ouptput of the command which > perl is also "/usr/bin/perl" Then my next guess is that you have a CR at the end of the line. Perhaps the whole file is in dos format? Running dos2unix will fix that, if it is the problem. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net
Paul, I have created the file in Windows and have pasted the entries in HP-UNIX (i mean copied). I cannot find the command dos2unix in HP UX. Thanks in Advance Regards Mazhar