Re: [PATCH] lint-man.mk: Use a pipeline instead of the groff(1) wrapper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux