From: greg Date: 2006-09-28T01:52:08+09:00 Subject: how to determine if pipe is given To retrieve piped input to my program I can use something like ARGF.readlines However, if there is no piped data, this will wait for input from the terminal- how can I avoid this? Thanks, Greg Weber