[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: shell program help wanted!
- From: Jean Francois ORTOLO <ortolojf cybercable fr>
- To: redhat-install-list redhat com
- Subject: Re: shell program help wanted!
- Date: Thu, 14 Sep 2000 20:31:49 +0200
Hi Kevin
I apologize, I was unaware the 'set variable=value' instruction, was
correct in sh style. I didn't know what I was saying.
Sorry again.
Jean Francois Ortolo
Kevin Colby a écrit :
>
> Jean Francois ORTOLO wrote:
> >
> > Hi nw x
> > 1) You should begin your script file with this line:
> >
> > #!/bin/tcsh
> >
> > I assume you use the tcsh shell, for your first instruction is csh
> > mode. This way, your script will be interpreted by the /bin/tcsh shell,
> > whatever the $SHELL variable contains.
>
> Sorry, Jean, but I'm going to have to disagree on this point.
> (BTW - Nice touch on the 'exit'.)
>
> The for/do/done loop syntax and the if/fi syntax are quite
> distinctly Bourne style, and he'll need it to be "#!/bin/sh"
> on the first line, not csh or tcsh.
>
> - Kevin Colby
> kevinc grainsystems com
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list redhat com
> https://listman.redhat.com/mailman/listinfo/redhat-install-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]