home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.wizards:4729 comp.unix.shell:4734 comp.unix.misc:4198
- Path: sparky!uunet!nntp1.radiomail.net!fernwood!autodesk!dansmith
- From: dansmith@Autodesk.COM (Daniel Smith)
- Newsgroups: comp.unix.wizards,comp.unix.shell,comp.unix.misc
- Subject: Re: The Problem with UNIX
- Message-ID: <17934@autodesk.COM>
- Date: 16 Nov 92 21:42:39 GMT
- References: <1992Nov9.172715.16367@cs.wisc.edu> <aldavi01.721333614@starbase.spd.louisville.edu> <1992Nov13.094336.2341@aber.ac.uk> <1992Nov13.213107.5722@chpc.utexas.edu>
- Followup-To: comp.unix.wizards
- Organization: Autodesk Inc., Sausalito CA, USA
- Lines: 48
-
- In <1992Nov13.213107.5722@chpc.utexas.edu> michael@chpc.utexas.edu (Michael Lemke) writes:
-
- > 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.
-
- > Actually, I think this example should work! It is a perfectly
- > reasonable request.
-
- No it isn't, consider my "glasses of water" theorem:
-
-
- | | | |
- |~~~~~~~~~| |~~~~~~~~~~~|
- | | | |
- | | | |
- | A | | B |
- | | | |
- \_______/ \_________/
-
-
- Ok, B can get bigger (i.e. a goblet, or a pitcher) to accept water
- from A, but what do you mean to do with B's original water? I think
- B's original water must go to:
-
- | |_
- |~~~~~~| \
- | C | ||
- | |_/
- \____/
-
- C, an arbitrary coffee cup in n-dimensional cupboard space, which
- can expand to hold any amount of liquid found in A & B. I think you're
- suggesting throwing B's water up in the air while A's water goes to B,
- and having B's water splash on top. This violates most of the laws of kitchen
- physics (see Child, Julia "Fractal Baking") and just makes a big mess.
- The third container (Tupperware or otherwise) saves the day. With
- this example, you could pour all of the water from C back into B (mv)
- and then put C in the dishwasher (rm).
-
- Daniel
- --
- Daniel Smith, Autodesk, Sausalito, California, (415) 332-2344 x 2580
- Disclaimer: written by a highly caffeinated mammal
- dansmith@autodesk.com dansmith@well.sf.ca.us
-
-