On Sun, 2021-07-25 at 17:29 -0700, David Boyce wrote:
> It's simple to detect this on a Unix-like host (see sample script
> below) and my contention is that this is "plenty portable enough"

Ah.  Yes, determining if stdout is /dev/null can be done.  I was
definitely having an off day yesterday and forgot about fstat()!

Thanks for that reminder.

Reply via email to