From: ara.t.howard@... Date: 2006-09-28T06:55:26+09:00 Subject: Re: how to determine if pipe is given On Thu, 28 Sep 2006, greg wrote: > sorry, misread some perl stuff. > > How about a global flag or constant > like $PIPE set to true if there is a pipe, and otherwise set to false? STDIN.tty? -a -- in order to be effective truth must penetrate like an arrow - and that is likely to hurt. -- wei wu wei