home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!cs.utexas.edu!convex!egsner!eric
- From: eric@egsner.cirr.com (Eric Schnoebelen)
- Subject: Re: The Revenge of CSH
- Organization: Central Iowa (Model) Railroad, Dallas, Tx.
- Date: Tue, 29 Dec 1992 03:42:27 GMT
- Message-ID: <C004yx.Goq@egsner.cirr.com>
- References: <Bzz748.GDK@csn.org>
- Lines: 45
-
- In article <Bzz748.GDK@csn.org> bazyar@teal.csn.org (Jawaid Bazyar) writes:
- - > Do yourself a favor, and if you *have* to write a shell script, do it
- - > in the Bourne shell. It's on every UNIX system out there. However,
- - > behavior can vary.
- -
- - Gee.. that means that /bin/sh isn't the universal be-all end-all of
- - shells? You don't say? You mean /bin/sh has bugs? Really?
-
- Yup, the Bourne shell has a few bugs. It has a lot fewer than
- csh. It is a lot more consistant that csh. I can certainly take a
- Bourne shell script for V7, and run it on my ISC 386/ix System V,
- release 3 system, or my ConvexOS 10.x (BSD 4.2++) system.
-
- - > Tom Christiansen tchrist@convex.com convex!tchrist
- - >
- - > "UNIX was not designed to stop you from doing stupid things, because
- - > that would also stop you from doing clever things." -- Doug Gwyn
- -
- - You're not cool enough to quote Doug Gwyn. Really; it seems that
- - 'csh sucks' in your opinion because it's not /bin/sh. Care to try
- - again?
-
- Nope, Tom hates sh as an interactive shell. He actually uses
- tcsh as the interactive shell of choice, and perl as the script language
- of choice. Personally, I prefer sh over csh, but like perl about
- equally with sh for programming. csh just doesn't seem as powerful and
- seems much less consistant, and much buggier.
-
- Tom _is_ "cool enough" to be quoting Doug Gwyn. He's at least
- as well known as Doug..
-
- - All in all, I'm sorely tempted to grab the existing csh source
- - and fix it, but I'll continue on our from-scratch project and
- - do it that way.
-
- I wish you would. I've played inside both sh and csh. I would
- much prefer to work on sh. Its much smaller, and therefore much more
- robust.
-
- Are you going to make your re-implementation available to the
- rest of the world? I would be more than interested in trying it out.
-
- --
- Eric Schnoebelen eric@cirr.com schnoebe@convex.com
- And on the seventh day, He exited from append mode.
-