Quick Question About Processes and Such

Carl Lowenstein cdl at proxima.ucsd.edu
Mon May 10 14:37:28 PDT 2004


> From: Mark Seven Smith <pampaluz at cox.net>
> To: kplug-list at kernel-panic.org
> Subject: Quick Question About Processes and Such
> Date: Sun, 9 May 2004 22:32:58 -0700
> > ---------------------------------------------------------------------------
> >-- #!/bin/csh -f
>
> Stewart gave me a little script, and pointed out that it could of course be 
> written in Bourne shell as well (and of course that means BASH too)...
>
> But I am wondering: since a script would load a new process, whatever it uses 
> (/bin/sh or /bin/csh), it really doesn't matter which way you go, does it?  I 
> mean, it matters not at all, if I am using Bourne shell, or BASH, or CSH, or 
> TSH, or whatever...the script will act the same, and use similar resources; 
> and conversely, it doesn't matter if you run a script that uses tsh, csh, sh, 
> or whatever, from a BASH prompt, or from a CSH prompt, or whatever...it all 
> winds up the same?  Of course, perhaps a script in one shell may work better 
> than a script from another shell, but it won't matter or make a difference 
> what shell it is started FROM, right?

It is not a question of what processes (external to the shell) are
run by the script.  It is that some shell languages make it easier to
write correctly working scripts.

    carl



More information about the KPLUG-List mailing list