On Thu, 28 Sep 2006, greg wrote:

> I guess the problem comes down to: can I determine if there is data
> being piped or if there is data waiting on STDIN before reading.  I am
> really trying to avoid hanging from doing ARGF.readlines (or something
> similiar) if there is no data being piped.

windows or *nix?


-a
-- 
in order to be effective truth must penetrate like an arrow - and that is
likely to hurt. -- wei wu wei