Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16432

[PATCH] bash.1: trim trailing space

Path csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail
From Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Newsgroups gnu.bash.bug
Subject [PATCH] bash.1: trim trailing space
Date Mon, 22 Jun 2020 19:09:33 +0000
Lines 137
Sender bjarniig@hi.is
Approved bug-bash@gnu.org
Message-ID <mailman.280.1592852985.2574.bug-bash@gnu.org> (permalink)
References <20200622190933.GA1529@rhi.hi.is>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Trace usenet.stanford.edu 1592852985 19097 209.51.188.17 (22 Jun 2020 19:09:45 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
DKIM-Filter OpenDKIM Filter v2.11.0 inpost.hi.is 05MJ9Xfx026447
Content-Disposition inline
User-Agent Mutt/1.5.20 (2009-12-10)
Received-SPF pass client-ip=2a00:c88:4000:1650::165:62; envelope-from=bjarniig@hi.is; helo=inpost.hi.is
X-detected-operating-system by eggs.gnu.org: No matching host in p0f cache. That's all we know.
X-Spam_score_int -18
X-Spam_score -1.9
X-Spam_bar -
X-Spam_report (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN
X-Spam_action no action
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <20200622190933.GA1529@rhi.hi.is>
Xref csiph.com gnu.bash.bug:16432

Show key headers only | View raw


  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

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

[PATCH] bash.1: trim trailing space Bjarni Ingi Gislason <bjarniig@rhi.hi.is> - 2020-06-22 19:09 +0000

csiph-web