home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.wizards
- Path: sparky!uunet!gatech!ukma!netnews.louisville.edu!starbase.spd.louisville.edu!aldavi01
- From: aldavi01@starbase.spd.louisville.edu (Arlie Davis)
- Subject: Re: The Problem with UNIX
- Sender: news@netnews.louisville.edu (Netnews)
- Message-ID: <aldavi01.721645237@starbase.spd.louisville.edu>
- Date: Fri, 13 Nov 1992 09:00:37 GMT
- Reply-To: Arlie Davis <aldavi01@starbase.spd.louisville.edu>
- References: <96927@netnews.upenn.edu> <1992Nov11.210729.11676@cs.wisc.edu> <BARNETT.92Nov12092045@grymoire.crd.ge.com> <1992Nov13.030529.6207@bilver.uucp>
- Nntp-Posting-Host: starbase.spd.louisville.edu
- Organization: University of Louisville
- Lines: 21
-
- In <1992Nov13.030529.6207@bilver.uucp> bill@bilver.uucp (Bill Vermillion) writes:
-
- > And some of the lastest bourne shells also have fixed it. In sysv.3.2
- > from Esix if I type
-
- > cat a b > b I get this result
-
- > cat: input/output files 'b' identical
-
- > So after a decade these have been solved.
-
- This was a fix to cat, not any of the shells. And b still gets clobbered.
- It *is* an improvement, though, and mine acts the same way.
-
- I responded in email to Bryan So that a decent solution is a (hypothetical
- but terribly simple) program called "buffer" would reads its stdin until EOF,
- then opens and writes all to the filename in argv[1]. So, "cat a b > b"
- becomes "cat a b | buffer b". He seemed to like the suggestion.
-
- --
- lrwx------ 1 aldavi01 emacsstu 9 Jun 6 12:43 .signature -> /dev/null
-