text format

Polytropon freebsd at edvax.de
Tue Jun 12 08:22:02 UTC 2012

On Tue, 12 Jun 2012 09:06:07 +0100, i pwn wrote:
> on groff i've used this cmd to format the text
> groff -Tascii < normal.txt | sed 's/^/	/'$1 > formatted.txt
> on nroff what would be the cmd?

Depending on your input data, I'd say the same command:
groff -Tascii < normal.txt > formatted.txt. But you need
to test this yourself with your input text format.

See "man nroff" for details.

For using roff macros, "man 7 mdoc" has a nice summary.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list