In article <13798 at dog.ee.lbl.gov> torek at elf.ee.lbl.gov (Chris Torek) writes: [ why cat foo | blah | tee foo involves race conditions ] More to the point, if you want to have blah read foo and write its output to a new copy of foo, do something like this: ( rm foo; blah > foo ) < foo ---Dan