Radek Brich <[EMAIL PROTECTED]> writes:

> Are users supposed to avoid this

Yes.  (:-)

> maybe there are other ways (e.g. somehow test if file 
> descriptor points to stdout).

Yes, that would be much better than trying to support /dev/stdout,
/dev/fd/0, etc., etc.  It would also handle this case:

   tar -cf foo ... >foo

Can you prepare a patch along those lines?


Reply via email to