Package: at
Version: 3.1.20-5
Severity: minor
Tags: patch

Dear Maintainer,

   * What led up to the situation?

Warnings from "test-groff":

<atd.8>:26 (macro IR): only 1 argument, but more are expected
<atd.8>:40 (macro BR): only 1 argument, but more are expected
<atd.8>:66 (macro IR): only 1 argument, but more are expected

  The patch is in the attachment

###

Summary:

Remove space at end of lines.

Change ".XR <one argument>" into ".X ..."

Change ".IR <one argument> to ".IR <argument> <punctuation>"

Change '-' to '\-' if it is a minus.

Change '-' to '\-' if it is in front of an option.

###

  DETAILS:

Input file is atd.8

Test nr. 1:

Remove space characters at the end of lines.

Use "git apply ... --whitespace=fix" to fix extra space issues, or use
global configuration "core.whitespace".

78:The functionality of 

#####

Test nr. 2:

Enable and fix warnings from 'test-groff'.

Input file is /tmp/atd.8

<atd.8>:26 (macro IR): only 1 argument, but more are expected
<atd.8>:40 (macro BR): only 1 argument, but more are expected
<atd.8>:66 (macro IR): only 1 argument, but more are expected

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

  and

Test nr. 15:

Change the name of a macro for two fonts (e.g., BR and IR) to one
letter, if there is only one argument.
Add the second argument if needed.  It is sometimes part of the first
one.

26:.IR n-1.
40:.BR atd
66:.IR /etc/at.deny

#####

Test nr. 17:

Change - to \- if it means a minus sign.

26:.IR n-1.

#####

Test nr. 24:

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

6:.RB [ -l
8:.RB [ -b
10:.RB [ -d ]
11:.RB [ -f ]
12:.RB [ -s ]
20:.B -l
28:.B -b
32:.B -d
36:.BR -f .
38:.B -f
43:.B -s
47:.B "atd -s"

#####

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

Kernel: Linux 4.9.88-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 at depends on:
ii  libc6           2.27-3
ii  libfl2          2.6.4-6.1
ii  libpam-runtime  1.1.8-3.7
ii  libpam0g        1.1.8-3.7
ii  libselinux1     2.7-2+b2
ii  lsb-base        9.20170808

Versions of packages at recommends:
ii  exim4-daemon-light [mail-transport-agent]  4.91-3

at suggests no packages.

-- Configuration Files:
/etc/at.deny [Errno 13] Permission denied: '/etc/at.deny'

-- no debconf information

-- 
Bjarni I. Gislason
--- atd.8       2018-04-22 17:43:25.000000000 +0000
+++ atd.8.new   2018-05-03 16:23:19.000000000 +0000
@@ -3,48 +3,48 @@
 atd \- run jobs queued for later execution
 .SH SYNOPSIS
 .B atd
-.RB [ -l
+.RB [ \-l
 .IR load_avg ]
-.RB [ -b
+.RB [ \-b
 .IR batch_interval ]
-.RB [ -d ]
-.RB [ -f ]
-.RB [ -s ]
+.RB [ \-d ]
+.RB [ \-f ]
+.RB [ \-s ]
 .SH DESCRIPTION
 .B atd
 runs jobs queued by
-.BR at(1) .
+.BR at (1).
 .PP
 .SH OPTIONS
 .TP 8
-.B -l
+.B \-l
 Specifies a limiting load factor, over which batch jobs should
 not be run, instead of the compile-time choice of 1.5.
 For an SMP system with
 .I n
 CPUs, you will probably want to set this higher than
-.IR n-1.
+.IR n\-1 .
 .TP 8
-.B -b
+.B \-b
 Specify the minimum interval in seconds between the start of two
 batch jobs (60 default).
 .TP 8
-.B -d
+.B \-d
 Debug; print error messages to standard error instead of using
-.BR syslog(3) .
+.BR syslog (3).
 This option also implies
-.BR -f .
+.BR \-f .
 .TP
-.B -f
+.B \-f
 Run
-.BR atd
+.B atd
 in the foreground.
 .TP 8
-.B -s
+.B \-s
 Process the at/batch queue only once.
 This is primarily of use for compatibility with old versions of
 .BR at ;
-.B "atd -s"
+.B "atd \-s"
 is equivalent to the old
 .B atrun
 command.
@@ -63,7 +63,7 @@ The directory for storing output; this s
 daemon.
 .PP
 .IR /etc/at.allow ,
-.IR /etc/at.deny
+.I /etc/at.deny
 determine who can use the
 .B at
 system.
@@ -75,7 +75,7 @@ system.
 .BR crontab (1),
 .BR syslog (3).
 .SH BUGS
-The functionality of 
+The functionality of
 .B atd
 should be merged into
 .BR cron (8) .

Reply via email to