[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] (Debian, testing) bash.1: Remove superfluous '.PP' and whitespac
From: |
Bjarni Ingi Gislason |
Subject: |
[PATCH] (Debian, testing) bash.1: Remove superfluous '.PP' and whitespace |
Date: |
Tue, 24 Mar 2020 20:22:02 +0000 |
User-agent: |
Mutt/1.5.20 (2009-12-10) |
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -g -O2 -fdebug-prefix-map=/build/bash-orJ5jM/bash-5.0=.
-fstack-protector-strong -Wformat -Werror=format-security -Wall
-Wno-parentheses -Wno-format-security
uname output: Linux kassi.invalid.is.lan 5.4.19-1 #1 SMP Wed Feb 19 23:52:01
UTC 2020 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu
Bash Version: 5.0
Patch Level: 16
Release Status: release
Description:
[Detailed description of the problem, suggestion, or complaint.]
The input file is from Debian testing.
Warnings from "mandoc" and "test-groff".
Repeat-By:
[Describe the sequence of events that causes the problem
to occur.]
mandoc -T lint bash.1
test-groff -b -e -mandoc -T utf8 -rF0 -t -w w -z bash.1
[ "test-groff" is a developmental version of "groff" ]
[ The used command is an augmented version of the software in the
groff repository ]
####
Examples from "mandoc":
mandoc: bash.1:420:50: STYLE: whitespace at end of input line
mandoc: bash.1:506:2: WARNING: skipping paragraph macro: PP empty
mandoc: bash.1:477:2: WARNING: skipping paragraph macro: PP after SH
mandoc: bash.1:536:2: WARNING: skipping paragraph macro: PP after SS
mandoc: bash.1:3763:2: WARNING: skipping paragraph macro: br before sp
From "test-groff":
troff: <bash.1>:420: warning: trailing space
troff: <bash.1>:1416: warning: trailing space
troff: <bash.1>:2141: warning: trailing space
troff: <bash.1>:4426: warning: trailing space
troff: <bash.1>:5130: warning: trailing space
troff: <bash.1>:6037: warning: trailing space
troff: <bash.1>:6169: warning: trailing space
troff: <bash.1>:6241: warning: trailing space
troff: <bash.1>:6636: warning: trailing space
troff: <bash.1>:6637: warning: trailing space
troff: <bash.1>:10893: warning: trailing space
#
Additional: Change '\}' to '.\}' at the start of a line.
from "troff: <bash.1>:10893: warning: trailing space"
Fix:
[Description of how to fix the problem. If you don't know a
fix for the problem, don't include this section.]
The patch is in the attachment.
--
Bjarni I. Gislason
bash.1.diff.xz
Description: application/xz
- [PATCH] (Debian, testing) bash.1: Remove superfluous '.PP' and whitespace,
Bjarni Ingi Gislason <=