Re: pls need some guidance
From: Stein Arne Storslett (sastorsl_at_THOU.SHALT.NOT.SPAM.online.no)
Date: 07/31/03
- Next message: parth: "Re: pls need some guidance"
- Previous message: Damian Ibbotson: "Re: awk & shell variables"
- In reply to: parth: "Re: pls need some guidance"
- Next in thread: parth: "Re: pls need some guidance"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 31 Jul 2003 12:14:38 GMT
<parth002000@yahoo.com> wrote in <cef5d0a6.0307301259.51fa51cb@posting.google.com>:
> Stein Arne Storslett <sastorsl@THOU.SHALT.NOT.SPAM.online.no> wrote in message news:<QjNVa.16750$Hb.280335@news4.e.nsc.no>...
>> <be1952@hotmail.dot.com> wrote in <pan.2003.07.30.20.00.42.70269@hotmail.dot.com>:
>> > On Tue, 29 Jul 2003 13:43:55 -0700, parth wrote:
>> >
>> >> #!usr/bin/ksh
>> >
>> > ok i'll be the dummy, shouldnt that be
>> >
>> > #!/usr/bin/ksh
>>
>> I should think so.
>> I'll follow up with:
>> Is that line on the _first_ line of the script? That is vital.
>>
>> Is perhaps your user shell ksh? That will explain why it works in your
>> home environment even if it doesn't in you production environment.
>>
>> What shell do you use in the production environment? If it's not ksh, it
>> explains why it doesn't work there.
> Hey stein,
> I got your question. My home shell is ksh and so as production
> environment. The script dosen't give any error but dosen't serve its
> purpose too.
Please don't top post, it messes up the reading. *friendly smile*
I have not read your script to see what's ksh spesific with your script.
But since you use #!/usr/bin/ksh (with a slash in the front) and it _is_
on the first line of the script we have to look elsewhere.
Are the two enviroments on different servers, and if so, on different
types of servers. Are you using different versions of ksh.
Are there problems related to $PATH?
To help you furter we need to see what happens in your home environment,
what happens in your production environment, and how that behaviour
differs from what you expect your script to do.
Try running your script with -v or -x to get some more debug
information.
-- Stein Arne
- Next message: parth: "Re: pls need some guidance"
- Previous message: Damian Ibbotson: "Re: awk & shell variables"
- In reply to: parth: "Re: pls need some guidance"
- Next in thread: parth: "Re: pls need some guidance"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|