Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!husc6!cmcl2!phri!roy From: roy@phri.nyu.edu (Roy Smith) Newsgroups: comp.unix.wizards Subject: Re: tee doesn't check noclobber? Message-ID: <1990May25.235327.24855@phri.nyu.edu> Date: 25 May 90 23:53:27 GMT References: <476@cvbnetPrime.COM> Sender: news@phri.nyu.edu (News System) Distribution: usa Organization: Public Health Research Institute, New York City Lines: 15 In <476@cvbnetPrime.COM> jsulliva@cvbnet.UUCP (Jeff Sullivan) writes: > I am using SunOS 4.0.3 and have noticed that tee doesn't check the > noclobber shell variable in /bin/csh. Well, that makes sense since noclobber is a shell variable and tee isn't part of the shell, so it has no way to find out what the value of noclobber is. One could export noclobber as an environment variable and rewrite tee to look at that, but who wants to carry the whole world around in their environment? Lots of programs take output filenames as arguments (dd, cp, mv, etc). Do you want all of them to look at noclobber too? -- Roy Smith, Public Health Research Institute 455 First Avenue, New York, NY 10016 roy@alanine.phri.nyu.edu -OR- {att,cmcl2,rutgers,hombre}!phri!roy "Arcane? Did you say arcane? It wouldn't be Unix if it wasn't arcane!"