[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #53784] [PATCH] tmac-files: Separate legal matter from other text i
From: |
G. Branden Robinson |
Subject: |
[bug #53784] [PATCH] tmac-files: Separate legal matter from other text in the same ".ig"-block |
Date: |
Mon, 5 Nov 2018 07:16:30 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
Update of bug #53784 (project groff):
Severity: 3 - Normal => 1 - Wish
Status: None => Invalid
Assigned to: None => gbranden
Open/Closed: Open => Closed
Planned Release: None => 1.22.4
_______________________________________________________
Follow-up Comment #1:
I believe this bug is invalid but it did motivate me to make the stripper
script more careful.
See commit c4d82acf4de9f1d6e19ef824607f3fd45f0dcf33.
commit c4d82acf4de9f1d6e19ef824607f3fd45f0dcf33 (HEAD -> master,
origin/master, origin/HEAD)
Author: G. Branden Robinson <address@hidden>
Date: Mon Nov 5 07:00:46 2018 -0500
tmac/strip.sed: Operate only if given permission.
* tmac/strip.sed: Do nothing whatsoever to any input file that
lacks a line matching "%beginstrip%". This implements a
contract between the macro file writer and the stripper script
(roff input is not parseable with crude weaponry like regular
expressions). In practice, most of the changes performed by the
script were already in a block enforcing this. My changes:
+ Stop unconditionally inserting a roff comment noting the
reader of stripping at line 2. Instead, replace the line
matching "%beginstrip%" with this comment if and only if it
is present.
+ Stop deleting lines containing only the empty request if
they occur before "%beginstrip%".
+ Tweak the wording of the roff comment.
+ Remove comment within the sed script; see
<https://lists.gnu.org/archive/html/groff/2017-11/msg00057.html>
and the sed section of "Limitations of Usual Tools" in the
GNU Autoconf Manual.
* tmac/e.tmac-u: Add a comment line to visually separate the end
of the license statement from the comment emplaced by strip.sed.
This is also consistent with the mdoc macro files.
Invalidates <https://savannah.gnu.org/bugs/index.php?53784>.
Signed-off-by: G. Branden Robinson <address@hidden>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?53784>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #53784] [PATCH] tmac-files: Separate legal matter from other text in the same ".ig"-block,
G. Branden Robinson <=