Package: util-linux
Version: 2.29.2-1+deb9u1
Severity: normal
Tags: patch
Control: found -1 2.32.1-0.1
Hi,
The getopt(1) manual page is a bit unhelpful about where the example
scripts are to be found:
Example scripts for (ba)sh and (t)csh are provided with the
getopt(1) distribution, and are optionally installed in
/usr/share/getopt/ or /usr/share/doc/ in the util-linux subdirectory.
On Debian, they're in /usr/share/doc/util-linux/examples which is
broadly implied by the above, but it would be helpful to be more
explicit about this (a colleague thought they weren't installed on
their system because of the ambiguity). I attach a patch that just
says where they are on Debian.
Thanks,
Matthew
-- System Information:
Debian Release: 9.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 4.9.0-6-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages util-linux depends on:
ii libblkid1 2.29.2-1+deb9u1
ii libc6 2.24-11+deb9u3
ii libfdisk1 2.29.2-1+deb9u1
ii libmount1 2.29.2-1+deb9u1
ii libncursesw5 6.0+20161126-1+deb9u2
ii libpam0g 1.1.8-3.6
ii libselinux1 2.6-3+b3
ii libsmartcols1 2.29.2-1+deb9u1
ii libsystemd0 232-25+deb9u4
ii libtinfo5 6.0+20161126-1+deb9u2
ii libudev1 232-25+deb9u4
ii libuuid1 2.29.2-1+deb9u1
ii zlib1g 1:1.2.8.dfsg-5
util-linux recommends no packages.
Versions of packages util-linux suggests:
ii dosfstools 4.1-1
ii kbd 2.0.3-2+b1
ii util-linux-locales 2.29.2-1+deb9u1
-- debconf information:
util-linux/noauto-with-nonzero-passnum:
diff --git a/misc-utils/getopt.1 b/misc-utils/getopt.1
index fbdcf73..eb4677f 100644
--- a/misc-utils/getopt.1
+++ b/misc-utils/getopt.1
@@ -415,11 +415,8 @@ if it is called with
.SH EXAMPLES
Example scripts for (ba)sh and (t)csh are provided with the
.BR getopt (1)
-distribution, and are optionally installed in
-.IR /usr/share/getopt/
-or
-.IR /usr/share/doc/
-in the util-linux subdirectory.
+distribution, and are installed in
+.IR /usr/share/doc/util-linux/examples/ .
.SH ENVIRONMENT
.IP POSIXLY_CORRECT
This environment variable is examined by the