From: greg Date: 2006-09-28T13:43:42+09:00 Subject: Re: how to determine if pipe is given I wanted the ability to optionally pipe a file, but the program would not require a file to be piped or given as an argument. I guess the answer is that this cannot be done. I can only allow an optional file argument, not a pipe.