Bug#942866: /usr/bin/getconf: getconf(1) should mention sysconf
Package: libc-bin
Version: 2.29-2
Severity: normal
File: /usr/bin/getconf
Tags: patch
To reproduce, and actual output:
mariner:~> man -k sysconf
sysconf (3) - get configuration information at run time
mariner:~>
Expected output:
mariner:~> man -k sysconf
sysconf (3) - get configuration information at run time
getconf (1) - Query system configuration variables (sysconf)
mariner:~>
This could be fixed by changing the manpage title; patch attached.
I chose not to mention pathconf since someone looking for a tool to do
pathconf would probably think to ask about sysconf.
But if "system configuration variables" could be abbreviated or left
out, "patchconf" could be mentioned too.
-- System Information:
Debian Release: 8.11
APT prefers oldoldstable
APT policy: (500, 'oldoldstable')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 3.16.0-7-amd64 (SMP w/8 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages libc-bin depends on:
ii libc6 2.19-18+deb8u10
libc-bin recommends no packages.
libc-bin suggests no packages.
-- no debconf information
>From 90d97e44554a3f1a8b3d5739598337da480c7e37 Mon Sep 17 00:00:00 2001
From: Ian Jackson <ijackson@chiark.greenend.org.uk>
Date: Tue, 22 Oct 2019 15:15:30 +0100
Subject: [PATCH] getconf(1): Mention `sysconf', mostly for the benefit of
search
This makes this handy utility considerably more discoverable.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
debian/local/manpages/getconf.1 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/local/manpages/getconf.1 b/debian/local/manpages/getconf.1
index 3184efe..2f57392 100644
--- a/debian/local/manpages/getconf.1
+++ b/debian/local/manpages/getconf.1
@@ -191,7 +191,7 @@
.\}
.rm #[ #] #H #V #F C
.SH "NAME"
-getconf \- Query system configuration variables
+getconf \- Query system configuration variables (sysconf)
.SH "SYNOPSIS"
\fBgetconf\fR \-a
.P
@@ -233,7 +233,7 @@ the Debian GNU/Linux system.
.rn }` ''
.IX Title "GETCONF 1"
-.IX Name "getconf - Query system configuration variables"
+.IX Name "getconf - Query system configuration variables (sysconf)"
.IX Header "NAME"
--
2.11.0
Reply to: