[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61605] [man pages] Do not create trailing spaces
From: |
Bjarni Ingi Gislason |
Subject: |
[bug #61605] [man pages] Do not create trailing spaces |
Date: |
Thu, 2 Dec 2021 19:01:01 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
URL:
<https://savannah.gnu.org/bugs/?61605>
Summary: [man pages] Do not create trailing spaces
Project: GNU troff
Submitted by: bjarniig
Submitted on: Fri 03 Dec 2021 12:00:59 AM UTC
Category: None
Severity: 3 - Normal
Item Group: Documentation
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
Subject: [man pages] Do not create trailing spaces
When there is a space in front of an inline comment,
it remains there after the comment has been removed,
so the line contains a trailing space when it is processed.
If the space is not a part of a string definition,
remove the space
so the software does not need to waste processing
efforts to remove it..
The '\"' is just as any punctuation mark, showing the end of the text
for the software to execute.
Examples of a trailing space:
troff:./contrib/hdtbl/groff_hdtbl.7.man:1029: warning: trailing space in line
or \f[BI]bold italic\f[], \" \f[BI] is not portable man(7)
##
troff:./man/groff.7.man:501: warning: trailing space in line
is \f[BI]bold-italic\f[]\/, \" indulging a bit of man(7) evil here
##
troff:./man/roff.7.man:408: warning: trailing space in line
Around this time, \" judging by "CSTR #17"
##
troff:./man/roff.7.man:436: warning: trailing space in line
does not feature a request list, \" nor does V6 Unix troff(1) (1975)
##
troff:./src/preproc/eqn/eqn.1.man:177: warning: trailing space in line
Three points are worth special note. \" good, bad, and different
##
troff: backtrace: file './src/preproc/tbl/tbl.1.man':1395
the escape character must be disabled. \" XXX: Why?
##
troff:./src/roff/groff/groff.1.man:1148: warning: trailing space in line
librarian program \" such as man-db, since 2001
##
troff:./tmac/groff_mdoc.7.man:4635: warning: trailing space in line
Old typesetters lacked directional double quotes, \" like the C/A/T
##
troff:./tmac/groff_mdoc.7.man:4644: warning: trailing space in line
strings this way. \" thanks to Ingo Schwarze for the research
##
troff:./tmac/groff_ms.7.man:2296: warning: trailing space in line
macro \" I wouldn't mention that, but Lesk 1978 encourages doing so. :-/
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61605>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [bug #61605] [man pages] Do not create trailing spaces,
Bjarni Ingi Gislason <=