[net.unix-wizards] csh .vs. sh

bj (06/21/82)

I like C shell much better than the Bourne shell.  There are useless
features, but I don't think alloc and hashstat slow down the shell
that much.  I do not use all of the features every day, but they do
get used.  The "expr" and "test" should go outside the shell for
modularity, but leave them in.  That may slow down csh when the
system is fast but will speed it up on a loaded system.

As far as shell scripts, do people use sh for any reason other than
compatibility with systems without csh?  MY shell scripts are written
for csh.  I miss features like ${foo=bar} but find that ${foo:e} is
more usefull.

Separate redirection of stdout and stderr would be a good addition to
csh, but I would not use a feature which allowed redirection of
arbitrary file descriptors - I like to keep program interfaces clean
and having a program expect fd 7 set up does not seem as clean as
passing a filename to the program.

					B.J.
					(decvax!yale-comix!herbsion)