Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2012 10:22:00 +0200
From:      Polytropon <freebsd@edvax.de>
To:        i pwn <pwnedomina@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: text format
Message-ID:  <20120612102200.f5d0b981.freebsd@edvax.de>
In-Reply-To: <7F5F7609-DB36-4E37-9196-92B797732C1D@gmail.com>
References:  <4C067C55-8320-4D12-A312-F8E2CC699B01@gmail.com> <CAHieY7TxEGJzEcmccXnq_mP8zwmXtVOnCHYPXfs0VMspA5MQ1Q@mail.gmail.com> <4FD6A057.2070101@gmail.com> <20120612054431.b630e37a.freebsd@edvax.de> <7F5F7609-DB36-4E37-9196-92B797732C1D@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120612102200.f5d0b981.freebsd>