Re^2: Should ``csh'' be part of the System V distribution?
Kim Chr. Madsen
kimcm at ambush.UUCP
Tue May 17 19:04:04 AEST 1988
To my experience, the following observations holds true here. We are
running System V, allthouh most of us comes from a BSD environment.
We have /bin/sh, /bin/csh, /bin/ksh and a /usr/bin/vsh on-line. Users
wants to use the csh as their interactive shell, using sh as their
tool for making scripts speculating whether ksh is better than csh for
interactive use, but settles with csh since it is known in depth, and
nobody wants to touch the vsh.
And of course the Bourne shell and the C-shell is the only two shells
with a large user base and therefore more PD scripts, and they're
faily standard although the Bourne shell is a bit more standard than
the C shell.
Pros and cons of the shells (subjective opinion):
Bourne Shell (System V Version):
+ Fast execution of scripts
+ Easy language conception
+ Easy file-descriptor manipulation ( 1>a 2>b 3>&1 etc.)
+ Functions (added modularity of scripts)
- No easy alias mechanism (functions are inadequate)
- No history mechanism
- Offers only a one-time start-up script (.profile (/etc/profile))
C Shell:
+ History mechanism with redo and history manipulation.
+ Superior interactive automatic scripts (.cshrc, .login & .logout)
+ Good aliasing mechanism
- Bad programming interface (non-intuitive).
- Slow execution of scripts
- Missing functions
- Bad file-descriptor manipulation.
Korn Shell:
+ Superior history mechanism with (vi/emacs interface available)
+ Almost Bourne Shell compatable language plus extensions
+ Aliasing mechanism (although not so intuitive as the csh)
- Inadequate automatical scripts (.kshrc, .profile)
- Does not have a large user base
Visual Shell:
+ Completely different from traditional shell types
+ Easy to learn to use (unless you're used to traditional shells)
- Troublesome to get to do anything advanced easy
- Slow execution and building of commands
- Offers no programming interface (relies on another shell)
Kim Chr. Madsen, AmbraSoft A/S, Rojelskaer 15, DK-2840 Holte (Denmark)
UUCP: kimcm at ambush.dk, PHONE: +45 2424 111, FAX: +45 2423 090
Your old men shall dream dreams, your young men shall see visions.
-- The Bible, Joel, II:28
More information about the Comp.unix.wizards
mailing list