diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2017-11-18 17:49:36 -0500 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2017-11-18 17:53:17 -0500 |
commit | 47fc0a18b80ab2400793c59647d8bcadd64a6d83 (patch) | |
tree | 8698c9fb6d6a37629e40ef4f53bfac9982ad7b91 /tmac/hyphenex.pl | |
parent | 5ab9da0b800d2e519a9fa49cd8183b334cf19a66 (diff) | |
download | groff-git-47fc0a18b80ab2400793c59647d8bcadd64a6d83.tar.gz |
tmac: Make style fixes.
* Migrate comments and plain text from `quotes' to 'quotes'.
* Flow FSF copyright notices onto one line per the model in the GNU
Maintainers' Guide. Put only one space between year range and name
of copyright holder.
* Update and parallelize editor aid comments.
* Reflow comments at 72 columns.
tmac/hyphen.cs:
* Update FSF address to Franklin Street (the file is under GPLv2).
tmac/hyphen.det:
* Identify self as "hyphen.det", not "hyphen.den".
Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
Diffstat (limited to 'tmac/hyphenex.pl')
-rw-r--r-- | tmac/hyphenex.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tmac/hyphenex.pl b/tmac/hyphenex.pl index 7cc546634..fba3e8d61 100644 --- a/tmac/hyphenex.pl +++ b/tmac/hyphenex.pl @@ -40,13 +40,13 @@ while (<>) { s/\\[^123456\s{]+//g; # remove all paired { ... } 1 while s/{(.*?)}/\1/g; - # skip lines which now have only whitespace before `&' + # skip lines which now have only whitespace before '&' next if m/^\s*&/; # remove comments s/%.*//; # remove trailing whitespace s/\s*$//; - # remove trailing `*' (used as a marker in the document) + # remove trailing '*' (used as a marker in the document) s/\*$//; # split at whitespace @field = split(' '); @@ -69,7 +69,7 @@ while (<>) { } } else { - # for `&', split at `&' with trailing whitespace + # for '&', split at '&' with trailing whitespace @field = split(/&\s*/); print " $field[1]\n"; } |