bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] bash.1: trim trailing space


From: Bjarni Ingi Gislason
Subject: [PATCH] bash.1: trim trailing space
Date: Mon, 22 Jun 2020 19:09:33 +0000
User-agent: Mutt/1.5.20 (2009-12-10)

  Remove space at end of lines.

  Chang '\}' to '.\}' at the beginning of one line.

###

  Details:

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

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

Input file is ././doc/bash.1

troff: <./doc/bash.1>:11: warning: number register 'zZ' not defined
troff: <./doc/bash.1>:12: warning: number register 'zY' not defined
troff: <./doc/bash.1>:399: warning: trailing space
troff: <./doc/bash.1>:1390: warning: trailing space
troff: <./doc/bash.1>:2115: warning: trailing space
troff: <./doc/bash.1>:2408: warning [p 20, 2.3i]: can't break line
troff: <./doc/bash.1>:4387: warning: trailing space
troff: <./doc/bash.1>:5091: warning: trailing space
troff: <./doc/bash.1>:5998: warning: trailing space
troff: <./doc/bash.1>:6130: warning: trailing space
troff: <./doc/bash.1>:6202: warning: trailing space
troff: <./doc/bash.1>:6597: warning: trailing space
troff: <./doc/bash.1>:6598: warning: trailing space
troff: <./doc/bash.1>:7296: warning: macro 'zZ' not defined
troff: <./doc/bash.1>:10770: warning: macro 'zY' not defined
troff: <./doc/bash.1>:10854: warning: trailing space

####

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 doc/bash.1 | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/doc/bash.1 b/doc/bash.1
index e6cd08db..485f22b2 100644
--- a/doc/bash.1
+++ b/doc/bash.1
@@ -396,7 +396,7 @@ files, the
 option has no effect.
 A non-interactive shell invoked with the name
 .B sh
-does not attempt to read any other startup files. 
+does not attempt to read any other startup files.
 When invoked as
 .BR sh ,
 .B bash
@@ -1387,7 +1387,7 @@ Expands to the exit status of the most recently executed 
foreground
 pipeline.
 .TP
 .B \-
-Expands to the current option flags as specified upon invocation, 
+Expands to the current option flags as specified upon invocation,
 by the
 .B set
 builtin command, or those set by the shell itself
@@ -2112,7 +2112,7 @@ filename completion (see
 .SM
 .B READLINE
 below).
-A filename whose suffix matches one of the entries in 
+A filename whose suffix matches one of the entries in
 .SM
 .B FIGNORE
 is excluded from the list of matched filenames.
@@ -4384,7 +4384,7 @@ shell option is enabled).
 Functions may be exported so that subshells
 automatically have them defined with the
 .B \-f
-option to the 
+option to the
 .B export
 builtin.
 A function definition may be deleted using the \fB\-f\fP option to
@@ -5088,7 +5088,7 @@ Background processes which attempt to read from (write to 
when
 terminal are sent a
 .SM
 .B SIGTTIN (SIGTTOU)
-signal by the kernel's terminal driver, 
+signal by the kernel's terminal driver,
 which, unless caught, suspends the process.
 .PP
 If the operating system on which
@@ -5995,7 +5995,7 @@ The version number supplied on the right side of the 
operator consists
 of a major version number, an optional decimal point, and an optional
 minor version (e.g., \fB7.1\fP). If the minor version is omitted, it
 is assumed to be \fB0\fP.
-The operator may be separated from the string \fBversion\fP   
+The operator may be separated from the string \fBversion\fP
 and from the version number argument by whitespace.
 .IP \fBapplication\fP
 The \fBapplication\fP construct is used to include
@@ -6127,7 +6127,7 @@ Words are delimited by non-quoted shell metacharacters.
 .B previous\-screen\-line
 Attempt to move point to the same physical screen column on the previous
 physical screen line. This will not have the desired effect if the current
-Readline line does not take up more than one physical line or if point is not  
+Readline line does not take up more than one physical line or if point is not
 greater than the length of the prompt plus the screen width.
 .TP
 .B next\-screen\-line
@@ -6199,7 +6199,7 @@ between the start of the current line and the point.
 This is a non-incremental search.
 .TP
 .B history\-substring\-search\-backward
-Search backward through the history for the string of characters   
+Search backward through the history for the string of characters
 between the start of the current line and the current cursor
 position (the \fIpoint\fP).
 The search string may match anywhere in a history line.
@@ -6594,8 +6594,8 @@ ring the terminal's bell (subject to the setting of
 .TP
 .B do\-lowercase\-version (M\-A, M\-B, M\-\fIx\fP, ...)
 If the metafied character \fIx\fP is uppercase, run the command
-that is bound to the corresponding metafied lowercase character. 
-The behavior is undefined if \fIx\fP is already lowercase. 
+that is bound to the corresponding metafied lowercase character.
+The behavior is undefined if \fIx\fP is already lowercase.
 .TP
 .B prefix\-meta (ESC)
 Metafy the next character typed.
@@ -10851,7 +10851,7 @@ These restrictions are enforced after any startup files 
are read.
 .SM
 .B "COMMAND EXECUTION"
 above),
-\}
+.\}
 .B rbash
 turns off any restrictions in the shell spawned to execute the
 script.
-- 
2.27.0



reply via email to

[Prev in Thread] Current Thread [Next in Thread]