Subject: Re: obsoleting sysctl(8)'s -w flag
To: <>
From: David Laight <david@l8s.co.uk>
List: tech-userlevel
Date: 03/05/2002 18:15:33
On Tue, Mar 05, 2002 at 12:51:30PM -0500, Bill Sommerfeld wrote:
> > Maybe confuse people by only requiring the '-w' if stdin
> > isn't a tty?
> 
> why?  so it only breaks when the script invoking sysctl is run
> interactively?

No, stdin of a script is the script, so a script would need -w
whereas somwthing typed in directly would not.

Quite a few commands change their behaviour if stdin isatty().

	David

-- 
David Laight: david@l8s.co.uk