Re: [logcheck] I hear you...
On Sun, Nov 25, 2001 at 02:54:46PM -0800, Karl M. Hegbloom wrote:
> Henrique> It will break a lot of scripts in very unfunny
> Henrique> ways. Hint: people use echo | or echo > in shell scripts
> Henrique> sometimes...
>
> Hmmm. Yes, I see. The echo replacement would have to be capable of
> detecting that, and there's not any way it can.
Not that i think it's a good idea, but this would be possible by checking
whether stdout (file descriptor 1) is connected to a tty.
--
every vector dreams of matrices
Reply to: