On Fri, 12 Oct 2001, Qi zhang wrote:

> I am using bash but my C file is under C-shell. How could I change the
> bash to shell by perl script file?
>   system ('csh');
>   system ('./my-file');
>   system ('exit');
> does above list work?

It shouldn't matter, if your C-shell script has a proper shebang line,
like

#!/usr/bin/csh

This will invoke the proper shell interpreter for your script.

-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
QOTD:
        "I used to go to UCLA, but then my Dad got a job."


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to