Control: tag -1 fixed-upstream

On Fri, Nov 09, 2018 at 02:30:42PM -0500, G. Branden Robinson wrote:
> $ for F in $(man -w tfmtodit hpftodit afmtodit); do lexgrog "$F"; zcat "$F" | 
> sed -n '3,4 {/\\-/p}'; done
> /usr/share/man/man1/tfmtodit.1.gz: "tfmtodit - create font files for use with 
> groff - Tdvi"
> tfmtodit \- create font files for use with groff \-Tdvi
> /usr/share/man/man1/hpftodit.1.gz: "hpftodit - create font description files 
> for use with groff - Tlj4"
> hpftodit \- create font description files for use with groff \-Tlj4
> /usr/share/man/man1/afmtodit.1.gz: "afmtodit - create font files for use with 
> groff - Tps and - Tpdf"
> afmtodit \- create font files for use with groff \-Tps and \-Tpdf

Some day I may run across whoever decided that it was a good idea for
man to have to parse a subset of *roff input in order to identify pages,
and have some Stern Words with them about the wisdom of that design
decision.

I think I've hacked this into shape:

  
https://git.savannah.gnu.org/cgit/man-db.git/commit/?id=95023279b69986a9c1fee841b2c626ae3973205c

  $ for F in $(man -w tfmtodit hpftodit afmtodit); do src/lexgrog "$F"; done
  /usr/share/man/man1/tfmtodit.1.gz: "tfmtodit - create font files for use with 
groff -Tdvi"
  /usr/share/man/man1/hpftodit.1.gz: "hpftodit - create font description files 
for use with groff -Tlj4"
  /usr/share/man/man1/afmtodit.1.gz: "afmtodit - create font files for use with 
groff -Tps and -Tpdf"

Thanks,

-- 
Colin Watson                                       [cjwat...@debian.org]

Reply via email to