home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / misc / 3383 < prev    next >
Encoding:
Text File  |  1992-08-27  |  8.8 KB  |  171 lines

  1. Newsgroups: comp.misc
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!caen!hellgate.utah.edu!lanl!cochiti.lanl.gov!jlg
  3. From: jlg@cochiti.lanl.gov (Jim Giles)
  4. Subject: Re: Giles' Manual Mania (Was - Re: About the 'F' in RTFM)
  5. Message-ID: <1992Aug28.005710.1989@newshost.lanl.gov>
  6. Sender: news@newshost.lanl.gov
  7. Organization: Los Alamos National Laboratory
  8. References: <1992Aug26.214319.14738@mksol.dseg.ti.com> <1992Aug27.020832.23988@newshost.lanl.gov> <1992Aug27.192610.12441@wixer.cactus.org>
  9. Distribution:  world
  10. Date: Fri, 28 Aug 1992 00:57:10 GMT
  11. Lines: 158
  12.  
  13. In article <1992Aug27.192610.12441@wixer.cactus.org>, rhodesia@wixer.cactus.org (Felix S. Gallo) writes:
  14. |> [...]
  15. |> Okay, give some concrete examples of a better 'sed', a better 'yacc',
  16. |> and a better 'awk'.
  17.  
  18. GNU has a better yacc (they may even call it yacc, I forget - I use LR) 
  19. which is full LR and not LALR like normal yacc.  LR (a public domain 
  20. parser generator) is also better than yacc.  However, if your research
  21. and development is scientific/numerical software, a parser generator
  22. is not really a central concern.
  23.  
  24. Awk is a poor imitation of snobol.  The very fact that you mentioned both
  25. sed and awk is interesting also.  They do the same thing (or, to be more
  26. precise, there's a *considerable* overlap in functionality).  Yet they 
  27. do so differently - incompatibility!  If UNIX were true to it's creed
  28. (simple orthogonal tools each doing one thing *well* and piping them
  29. together), there would be one tool - or at least the two would have
  30. identical syntaxes for the overlapping parts of their operations.
  31.  
  32. |> [...]
  33. |> >*NOTHING*!!  With the alternatives I've seen, you *gain*: speed, features,
  34. |> >user productivity, etc..
  35. |> 
  36. |> Err, these 'GUI's you keep referring to are faster than /bin/rc?
  37.  
  38. The /bin/rc I have access to is part of the system boot sequence and is 
  39. not a part of the naive user envoronment at all.  What relevance to does 
  40. it have to a discussion about user-level tools?  I'm talking about tools
  41. which are useful in writing and maintaining software for applications
  42. *other* than system design or system maintenence.
  43.  
  44. |> >[...].  The "pipe together simple tools" approach
  45. |> >has *some* merit.  Too bad UNIX didn't stick to it.  More precisely, too
  46. |> >bad UNIX didn't periodically winnow out all but the best tools and utilities
  47. |> >and rewrite them to be compatible and orthogonal.  Might be an interesting
  48. |> >system.
  49. |> 
  50. |> But they are.  sed, awk, perl, tr, pr, nroff, troff, ls, tbl, pic, eqn,
  51. |> rm, and all the other programs in my /[usr/]bin perform completely correctly
  52. |> and predictably when placed in pipes.  Maybe there's something integral
  53. |> to the process which you're failing to understand.
  54.  
  55. Yes, I fail to understand why your list contains several tools (nroff,
  56. troff, tbl, eqn, etc.) which are individually as difficult to learn
  57. as a single integrated tool which does *all* those word processing
  58. operations - and contains context sensitive help (even though it's
  59. already easier to learn than the UNIX stuff).  Especially since these
  60. integrated tools actually have MORE features than what you mentioned.
  61. If those tools were each *very* simple to learn, or if they each
  62. actually *did* more, the technique might be an acceptable alternative
  63. to integrated tools.  However, the low quality and long learning
  64. curve of these tools is probably the reason that the world is 
  65. moving away from the piped-tools model and going toward integrated
  66. environments - for word processing anyway.
  67.  
  68. |> [...]
  69. |> The failure you're experiencing with UNIX is in thinking that it's
  70. |> a business productivity tool like Windows 3.1 or Quicken, to be compared
  71. |> with MSDOS color GUI programs.  UNIX and C are research and development
  72. |> tools.
  73.  
  74. Yet, they're being promoted for use in production environments.  If they
  75. are research and development tools, let the researchers and developers
  76. keep them - hidden away and out of the rest of the public's way.  In 
  77. any case UNIX and C are for research and development of systems and
  78. system maintenence tools - not for, say, X-ray imaging or groundwater
  79. flow or stock market analysis tools.
  80.  
  81. |> >[...] AT&T *also* selected MS/DOS for the 
  82. |> >computer services contract it has with AMTRAC: because AT&T (the
  83. |> >inventor of UNIX) determined that training and system administration 
  84. |> >overhead for a UNIX installation were unacceptable.  
  85. |> 
  86. |> AT&T probably correctly determined that UNIX was not the correct
  87. |> operating system for a non-research-and-development site.  Indeed,
  88. |> UNIX makes a poor operating system for cash registers and business
  89. |> management.  This doesn't make it a poor operating system.  Rather,
  90. |> people who claim it's a poor operating system because it doesn't
  91. |> have The Feature They Want are barking up the wrong tree.
  92.  
  93. It also makes a poor system in research and development environments
  94. if what's being researched and developed is not more system tools.
  95. Supercomputers, parallel syatems, etc. are not appropriate for a
  96. minicomputer-level development systems.
  97.  
  98. |> [...]
  99. |> I've spent 13 years on computers now, and I must confess I have no idea
  100. |> what these secret tools you're referring to are.  Could you provide
  101. |> concrete examples of a tool that is as easy to use as, say, sed, that
  102. |> provides just as much power, but whose documentation is 'better laid
  103. |> out'?
  104.  
  105. Sed?  Easy to use?  I don't use it much because it's *not* easy to
  106. use (and because most of what I do doesn't involve text filtering).  
  107. In the 25 years I've been programming, the only system I remember
  108. to *compare* with the difficulty of learning and using UNIX is OS/360.
  109. And for the same reasons: *lots* of arcane trivia and poorly organized
  110. manuals.  The terms `arcane' and `user friendly' are mutually exclusive.
  111. UNIX is arcane.
  112.  
  113. |> [...]
  114. |> >[...]  Many businesses would never have even considered using UNIX 
  115. |> >without something *like* windows (or alternative utility sets,
  116. |> >or alternative shells - anything to improve the crummy environment) 
  117. |> >because UNIX is not cost-effective without them (too much training 
  118. |> >and "guru" overhead).
  119. |> 
  120. |> Right, there's your problem again -- assuming that businesses have a
  121. |> need for UNIX, or that UNIX was designed for use in the commercial
  122. |> marketplace.  I think Roell Piper has this misnotion too.
  123.  
  124. No, Ive been claiming exactly what you just said: that there are 
  125. environments where UNIX is not appropriate.  I'm arguing *against*
  126. the assumption you accuse me of making.  Since you are not recommending 
  127. UNIX for environments for which it is not suited (like the person I was 
  128. responding to), my comments don't apply to you.  I was responding to claims 
  129. that UNIX *was* suited to these application domains - which is not so.
  130.  
  131. |> [...]
  132. |> Again, you miss the point of UNIX entirely.  UNIX is designed for
  133. |> a networked environment.  It is designed for multi-user machines.
  134. |> It is designed to be modular, and text-based; there are few needs
  135. |> for 'off-the-shelf GUIs', whatever that's supposed to mean.  The
  136. |> toolset is integrated.   In fact, you can even *make your own
  137. |> tools.*  Try that under Windows. :)
  138.  
  139. No, UNIX was basically designed and fixed in its present form before
  140. networks even existed.  The network protocol which is presently used by
  141. most UNIXes is a system independent protocol (deliberately so) designed
  142. by DARPA.  UNIX was designed at AT&T as a testbed for trying out experimental
  143. ideas of system design.  It was not intended, when first designed, to be
  144. seen or used by any but the researchers involved and their colleagues - all
  145. of whom were willing to endure the idiosyncracies of an ad-hoc system.  
  146. It became widespread because it was free and open (neither are technical 
  147. qualities - schools wanted some unimportant system which was simplistic
  148. enough to teach from and could be sacrificed to studen hacks and such;
  149. no one was foolhardy enough - in those days - to do anything really
  150. important on UNIX) and it is popular now because the students who 
  151. learned under it are not willing to learn anything new (as is evidenced 
  152. by the strong resistence and abuse from many on the net when it is suggested 
  153. that there *might* be better ways).  UNIX retains its experimental, testbed 
  154. character - as well as many of the experimental features (even those which 
  155. are now thought to be bad ideas).
  156.  
  157. |> [...]
  158. |> I'm currently running a UNIX clone on a 386/25 with 4M of memory.
  159. |> This is hardly a massive workhorse, and, since the kernel is less
  160. |> than 1.2M large, I can also run X.  The cost to me?  $0.00. 
  161.  
  162. Gee.  I wouldn't want to use up a third of my memory on *system* overhead!
  163. And, I'll bet it uses 50M or more of your disk as well - at least if you've
  164. got all the bundled tools installed.  For a single user PC clone, that's a 
  165. *lot* of overhead.  Further, X, TCP/IP, and several other things have 
  166. *nothing* to do with UNIX or the bundled UNIX environment I've been 
  167. talking about - they were designed to be system/hardware independent.
  168.  
  169. -- 
  170. J. Giles
  171.