home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!rpi!crdgw1!rdsunx.crd.ge.com!rdsunx!barnett
- From: barnett@grymoire.crd.ge.com (Bruce Barnett)
- Newsgroups: comp.unix.wizards
- Subject: Re: The Problem with UNIX
- Message-ID: <BARNETT.92Nov12092045@grymoire.crd.ge.com>
- Date: 12 Nov 92 14:20:45 GMT
- References: <1992Nov9.172715.16367@cs.wisc.edu> <96927@netnews.upenn.edu>
- <1992Nov11.210729.11676@cs.wisc.edu>
- Sender: usenet@crd.ge.com (Required for NNTP)
- Reply-To: barnett@crdgw1.ge.com
- Organization: GE Corp. R & D, Schenectady, NY
- Lines: 15
- In-Reply-To: so@brownie.cs.wisc.edu's message of Wed, 11 Nov 1992 21:07:29 GMT
- Nntp-Posting-Host: grymoire.crd.ge.com
-
- In article <1992Nov11.210729.11676@cs.wisc.edu> so@brownie.cs.wisc.edu (Bryan S. So) writes:
- > To me, some problems like "cat a b > b" are obviously undesirable
- > designs and still unsolved after more than a decade.
-
- It has been solved. There are at least two solutions:
- 1) Educate the user. After all the system did exactly what
- the user told it to do.
- 2) in csh/tcsh, do "set noclobber"
-
- grymoire% set noclobber
- grymoire% touch a b
- grymoire% cat a b >b
- b: File exists.
- --
- Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett
-