groff -ms -Tascii (nroff?) strange output

Christian Weisgerber naddy at mips.inka.de
Wed Oct 5 16:51:14 UTC 2011


Anton Shterenlikht <mexas at bristol.ac.uk> wrote:

> BUZI> groff -ms -Tascii try.1 | more
> 
>                          ESC[1mSome titleESC[0m
> 
> How can I get a plain text rendering
> from a troff document with ms macros?

With nroff, use the -c flag:

  nroff -ms -c -Tascii

The groff frontend has a more convoluted syntax for it:

  groff -ms -P -c -Tascii

-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de



More information about the freebsd-current mailing list