home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / question / 15086 < prev    next >
Encoding:
Internet Message Format  |  1992-12-31  |  2.7 KB

  1. Path: sparky!uunet!psinntp!internet!sbi!zeuswtc!cebu!goldfish
  2. From: goldfish@cebu.sbi.com (P. Goldsmith)
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: The Revenge of CSH
  5. Message-ID: <799@cebu.sbi.com>
  6. Date: 31 Dec 92 20:36:30 GMT
  7. References: <Bzz748.GDK@csn.org>
  8. Organization: Salomon Brothers, Inc
  9. Lines: 47
  10.  
  11. In article <Bzz748.GDK@csn.org> bazyar@teal.csn.org (Jawaid Bazyar) writes:
  12. >
  13. >  The reason for this reply is that I'm one of a number of folks working
  14. >on a csh clone (called GSH, and for the GNO/ME system for the Apple IIgs).
  15. >We intend to fix most if not all of these problems as we implement csh
  16. >from scratch on a 16-bit platform.  But I take offense to the manner in 
  17. >which csh's bugs are listed, and then be stated "csh sucks, is 
  18. >totally unworthy", basically.  
  19. >  So, let the flamefest begin.
  20. >
  21.  
  22. It may be more reasonable to say that CSH suffers from several deficiencies
  23. which Bourne shell (sh) does not.  The corrolory is also true, however, the
  24. "sh" deficiencies tend to be related to convenience, and the "csh" ones are
  25. mostly in the area of functionality.
  26.  
  27. example: if my shell does not have history, I can use my mouse (in an
  28. X-term), run the shell in a jove, or emacs window and have the cut-and-paste
  29. function, or just knuckle down and retype the line.
  30.  
  31. If I cannot independantly redirect stderr and stdout (I am aware of the
  32. multiple nested parentheses kludge for this and don't consider it adequare)
  33. I am plumb out of luck, and looking for another shell tp program in.
  34.  
  35. If there exists a custom version of csh (tcsh, etc ...) then I can write
  36. NON_PORTABLE programs for that shell.  this still does not give me a general
  37. programming shell, since I can't guarantee its availability, and may not be
  38. able to install it everywhere in the world.
  39.  
  40. I personally use Korn and BASH for finger stuff, and "sh" for scripts.  I
  41. have successfully moved "sh" scripts across platforms without problems and I
  42. know that I have a level playing field which does what I want it to.
  43.  
  44. Independant of what "csh" COULD be made into, it currently IS inadequate and
  45. no updates exist on the horizon (including your efforts, which are not
  46. unappreciated) that are likely to be everywhere I may want to execute a
  47. script.  "Sh" is (and has) been adequate and standard and available for
  48. years.
  49.  
  50. If I want a standard and sufficient shell, I have "sh".  If I want a mutated
  51. superset of a standard and sufficient shell I can use BASH or KSH.  CSH is
  52. neither and a "fixed" csh is neither also.
  53. -- 
  54.     Paul Goldsmith    <goldfish@sbi.com>          w    (212) 783-7733
  55.     (shredding elf)    <goldfish@ozrout.uucp>          h    (212) 727-9345
  56.     ( Shirley MacLaine told me there would be LIFETIMES like this)
  57.         so many managers ... so little time ...
  58.