[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bad file descriptor error in bash



On Mon, 10 Dec 2001 14:42:15 +0800, Patrick Hsieh <pahud@ezplay.tv> wrote:

> Hello,
> home:~ #df 1>&-
> df: write error: Bad file descriptor
> 
> Is it a bug?
> ">&-"  should be compatible with ">/dev/null", right?

If it is, it must be with "df" as other programs don't complain.

-- 
Eric G. Miller <egm2@jps.net>



Reply to: