home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / wizards / 4578 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  2.3 KB

  1. Xref: sparky comp.unix.wizards:4578 comp.unix.shell:4611 comp.unix.misc:4074
  2. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!destroyer!ncar!noao!amethyst!organpipe.uug.arizona.edu!news
  3. From: dave@cs.arizona.edu (Dave Schaumann)
  4. Newsgroups: comp.unix.wizards,comp.unix.shell,comp.unix.misc
  5. Subject: Re: The Problem with UNIX
  6. Message-ID: <1992Nov9.215307.11145@organpipe.uug.arizona.edu>
  7. Date: 9 Nov 92 21:53:07 GMT
  8. References: <1992Nov9.172715.16367@cs.wisc.edu>
  9. Sender: news@organpipe.uug.arizona.edu
  10. Reply-To: dave@cs.arizona.edu (Dave Schaumann)
  11. Followup-To: comp.unix.wizards
  12. Organization: University of Arizona
  13. Lines: 40
  14. In-Reply-To: so@brownie.cs.wisc.edu (Bryan S. So)
  15.  
  16. In article <1992Nov9.172715.16367@cs.wisc.edu>, so@brownie (Bryan S. So) writes:
  17. >I am doing research on UNIX command line interface problems.
  18.  
  19. How about the fact that it is default for mv to overwrite existing files?
  20. It's way too easy to type something like
  21.  
  22.     mv <pattern>
  23.  
  24. where you don't put the destination directory, and pattern just happens
  25. to match two files -- all of a sudden, one of them is wiped out!
  26.  
  27. >    rm -filename_with_a_hyphen
  28.  
  29. Eh.  This is a minor irritation, IMHO.  It's easy enough to avoid file names
  30. that start with a hyphen, and if you know enough to look in the man pages,
  31. it's easy enough to find what to do if you accidently make one.
  32.  
  33. >    mail somebody < a.out
  34. >
  35. >    Sending binary file should be uuencoded first.  This is a
  36. >    general type conflict problem.
  37.  
  38. At best, this is a problem with mail.  At worst, this is trying to make
  39. mail deal with a problem that uuencode already solves nicely.
  40.  
  41. The philosiphy of UNIX should be that utilities should be small and as
  42. orthogonal and non-overlapping as possible.  This does present some
  43. difficulties for the new user, but I think that OS designers need to think
  44. beyond the needs of the new user if the OS is ever going to be useful for
  45. seasoned users.
  46.  
  47. IMHO, that means if someone types "mail sombody < a.out", they are about to
  48. have an opportunity for a learning experience.  :-)  If someone is in the
  49. habit of mailing binary files a lot, and doesn't care to bother running
  50. uuencode all the time, then they have the opportunity for another learning
  51. experience to write a wrapper for mail that automatically uuencodes
  52. stdin when it is redirected to a binary file.
  53.  
  54. -- 
  55. What signature?
  56.