[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] lint-man.mk: Use a pipeline instead of the groff(1) wrapper
From: |
Ralph Corderoy |
Subject: |
Re: [PATCH] lint-man.mk: Use a pipeline instead of the groff(1) wrapper |
Date: |
Sun, 28 Aug 2022 09:36:27 +0100 |
Hi Alejandro,
> +DEFAULT_EQNFLAGS := -Tutf8
...
> +DEFAULT_TROFFFLAGS += -Tutf8
I'd have a variable set to ‘utf8’ to ease changing to another output
device.
> - $(GROFF) $(GROFFFLAGS) $< \
> + $(TBL) <$< \
You've ditched passing the filename, instead using standard input.
This prevents the filename being passed through the pipeline which will
presumably result in poorer messages.
$ tbl /etc/passwd | grep '^\.'
.if !\n(.g .ab GNU tbl requires GNU troff.
.if !dTS .ds TS
.if !dTE .ds TE
→ .lf 1 /etc/passwd
$
--
Cheers, Ralph.