Date: Sun, 24 Nov 2019 14:54:35 +0000 From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 242191] man pages: sysctl -n option incorrectly described Message-ID: <bug-242191-9@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242191 Bug ID: 242191 Summary: man pages: sysctl -n option incorrectly described Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: stilezy@gmail.com CC: doc@FreeBSD.org Current misleading description, suggests it outputs value of sysctls only, whereas it can output anything (type/descript etc). Its actual function is = to suppress name, not output value only. Current misleading description: "-n: Show only variable values, not their names. This option is useful for setting shell variables. For instance, to save the pagesize in variable ps= ize, use: set psize=3D`sysctl -n hw.pagesize" Suggested improved wording: -n: Suppress variable names. The output will be the bare value, descriptio= n, type, or other details, according to the other options used. This option is useful for setting shell variables. For instance, to save the pagesize in variable psize, use: set psize=3D`sysctl -n hw.pagesize" Sorry, not up to speed on SVN, hence unconfident to push as a change myself. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242191-9>