Package: debianutils
Version: 4.9.1
Severity: minor
Tags: patch

Dear Maintainer,

Input file is ischroot.1

  Details:

chk_man: Next line: execute mandoc -T lint ischroot.1

mandoc: ischroot.1:9:2: WARNING: skipping paragraph macro: PP after SH

#######

Test nr. 2:

Enable and fix warnings from 'test-groff'.


Output is from: test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z

  [ "test-groff" is a developmental version of "groff" ]

Input file is ./ischroot.1

troff: backtrace: '/home/bg/git/groff/build/s-tmac/an-old.tmac':278: macro 'B'
troff: backtrace: file '<ischroot.1>':24
troff: <ischroot.1>:24: warning: trailing space
troff: backtrace: '/home/bg/git/groff/build/s-tmac/an-old.tmac':278: macro 'B'
troff: backtrace: file '<ischroot.1>':27
troff: <ischroot.1>:27: warning: trailing space
####

Test nr. 25:

Change a HYPHEN-MINUS (code 0x55, 2D) to a minus (\-), if in front of a
name for an option.

24:.B "-f, --default-false "
27:.B "-t, --default-true "
30:.B "--help"
33:.B "--version"

#####

Test nr. 36:

Wrong distance between sentences or protect the indicator.

a) Separate the sentences and subordinate clauses; each begins on a new
line.  See man-pages(7) and "info groff".

 The best procedure is to always start a new sentence on a new line,
at least, if you are typing on a computer.

Remember coding: Only one command ("sentence") on each (logical) line.

E-mail: Easier to quote exactly the relevant lines.

Generally: Easier to edit the sentence.

Patches: Less unaffected text.


11:detects if it is currently running in a chroot. The exit status is:
36:On GNU/Linux, chroot detection is not possible when not root. This

#####

Test nr. 42:

Remove superfluous quotation marks (") from the argument of a
single-font macro.

30:.B "--help"
33:.B "--version"

#####

  Patch:

--- ischroot.1  2019-12-07 02:13:44.000000000 +0000
+++ ischroot.1.new      2020-05-22 23:25:54.000000000 +0000
@@ -6,9 +6,9 @@ ischroot \- detect if running in a chroo
 .B ischroot
 [\-\-default\-false] [\-\-default\-true] [\-\-help] [\-\-version]
 .SH DESCRIPTION
-.PP
 .B ischroot
-detects if it is currently running in a chroot. The exit status is:
+detects if it is currently running in a chroot.
+The exit status is:
 .TP
 0
 if currently running in a chroot
@@ -21,17 +21,18 @@ if the detection is not possible (On GNU
 script is not run as root).
 .SH OPTIONS
 .TP
-.B "-f, --default-false "
+.B \-f, \-\-default\-false
 Exit with status 1 if the detection is not possible.
 .TP
-.B "-t, --default-true "
+.B \-t, \-\-default\-true
 Exit with status 0 if the detection is not possible.
 .TP
-.B "--help"
+.B \-\-help
 Print a usage message on standard output and exit successfully.
 .TP
-.B "--version"
+.B \-\-version
 Print version information on standard output and exit successfully.
 .SH BUGS
-On GNU/Linux, chroot detection is not possible when not root. This
+On GNU/Linux, chroot detection is not possible when not root.
+This
 works correctly on GNU/Hurd and GNU/kFreeBSD.


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.14-1 (SMP w/2 CPU cores)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), 
LANGUAGE=is_IS.iso88591 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages debianutils depends on:
ii  libc6  2.30-8

debianutils recommends no packages.

debianutils suggests no packages.

-- no debconf information

-- 
Bjarni I. Gislason

Reply via email to