home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.wizards:4715 comp.unix.shell:4726 comp.unix.misc:4187
- Path: sparky!uunet!usc!rpi!crdgw1!rdsunx.crd.ge.com!rdsunx!barnett
- From: barnett@grymoire.crd.ge.com (Bruce Barnett)
- Newsgroups: comp.unix.wizards,comp.unix.shell,comp.unix.misc
- Subject: Re: The Problem with UNIX
- Message-ID: <BARNETT.92Nov16064653@grymoire.crd.ge.com>
- Date: 16 Nov 92 11:46:53 GMT
- References: <1992Nov9.172715.16367@cs.wisc.edu>
- <aldavi01.721333614@starbase.spd.louisville.edu>
- <1992Nov13.094336.2341@aber.ac.uk>
- 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: btk@aber.ac.uk's message of 13 Nov 92 09:43:36 GMT
- Nntp-Posting-Host: grymoire.crd.ge.com
-
- In article <1992Nov13.094336.2341@aber.ac.uk> btk@aber.ac.uk (Ben Ketteridge) writes:
- >For example, just to take the 'cat a b > b' problem, you are suggesting IMHO that
- >the shell shouldn't check redirection of output against the input and warn the
- >user in this case.
-
- Suppose the command was
- prog >b
- and "prog" was a shell script that said "cat a b"? Or a C, Lisp, or
- Perl program?
-
- How can the shell "know" that the output is also an input? It can't.
-
-
- --
- Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett
-