home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / question / 15011 < prev    next >
Encoding:
Text File  |  1992-12-29  |  2.3 KB  |  56 lines

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