Date: Tue, 12 Jun 2012 20:40:23 +0000 From: pwnedomina <pwnedomina@gmail.com> To: Polytropon <freebsd@edvax.de> Cc: freebsd-questions@freebsd.org Subject: Re: text format Message-ID: <4FD7A937.5030607@gmail.com> In-Reply-To: <20120612102200.f5d0b981.freebsd@edvax.de> 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> <20120612102200.f5d0b981.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12-06-2012 08:22, Polytropon wrote: > 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. > > > im only asking what cmd should i use to format an ascii text to be identical to that one, centered and aligned..
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FD7A937.5030607>