Subject: Re: obsoleting sysctl(8)'s -w flag
From: David Laight <email@example.com>
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
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 Laight: firstname.lastname@example.org