Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Oct 2011 16:17:16 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-current@freebsd.org
Subject:   Re: groff -ms -Tascii (nroff?) strange output
Message-ID:  <j6hvuc$1cti$1@lorvorc.mips.inka.de>
References:  <20111004205648.GA19519@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Anton Shterenlikht <mexas@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@mips.inka.de




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?j6hvuc$1cti$1>