9/18 I'm so confused. When i write a shell script on SODA and don't
specify a shell it seems to run it in BASH even though i'm using
TCSH. How/why is this?
\_ See /csua/tmp/shell-script.txt --pld
\_ Thanks, i get it, though it was not easy to decipher from
that exchange.
\_ This doesn't really say why, does it? When you run
~user/foo, is a sh interpreter invoked by default?
why not the current shell?
\_ AFAIK, sh invoked by default, unless you use #! to define
some other shell or other program you desire or even #!/bin/sh
If you type "source foo", then current shell used, i
think(unless you specified #!), plus it affects current shell.
like sets variables. "source" is basically "run these commands"
as if I typed them in manually.
\_ It's due to your excessive usage of CAPS. |