On Wed, 2012-12-19 at 11:10 -0800, Garrett Cooper wrote:
> On Wed, Dec 19, 2012 at 7:37 AM, Ian Lepore
> <free...@damnhippie.dyndns.org> wrote:
> 
> ...
> 
> > Instead of running sysctl a bunch of times, how about something
> > conceptually similar to
> >
> >    cat /etc/sysctl.d/* /etc/sysctl.conf | sysctl -f -
> >
> > Along with this (untested) patch to make sysctl understand "-f -".
> >
> > Hmmm, is /dev/stdin available as early as sysctl.conf runs?  If not, the
> > attached patch isn't going to work.
> 
>     Why not just make sysctl understand multiple -f options? You're
> probably going to run into more problems parsing from /dev/stdin and
> it's going to obfuscate things a lot dealing with which file came
> last, feeding back diagnostic info, etc.
>     Please don't "linuxise" this tool.
> Thanks,
> -Garrett

Hrm.  I would consider enhancing a program to accept data on stdin,
thereby allowing complex tasks to be efficiently accomplished using
pipelines of simple tools, to be more "unix-ising" than "linux-ising".

-- Ian


_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to