Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2007 18:28:55 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Mario Lobo <mario.lobo@ipad.com.br>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: defrag
Message-ID:  <20070302162855.GA7250@kobe.laptop>
In-Reply-To: <200703021127.42170.mario.lobo@ipad.com.br>
References:  <539c60b90703010849x33dd4bbbt8f6ca6aa0c8e83a0@mail.gmail.com> <45E70B8C.8010602@daleco.biz> <e572718c0703010927p57aa42f8kd7765f0674eb80d0@mail.gmail.com> <200703021127.42170.mario.lobo@ipad.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2007-03-02 11:27, Mario Lobo <mario.lobo@ipad.com.br> wrote:
> On Thursday 01 March 2007 17:27, Pietro Cerutti wrote:
> > On 3/1/07, Kevin Kinsey <kdk@daleco.biz> wrote:
> > > Kevin Kinsey wrote:
> > >
> > > groff /usr/share/doc/smm/05.fastfs/* > ~/ffs.ps
> 
> This is what worked for me:
> 
> [~]>gunzip -c /usr/share/doc/smm/05.fastfs/paper.ascii.gz > paper.ascii
> [~]>groff paper.ascii > ffs.ps
> [~]>ps2pdf ffs.ps
> [~]>acroread ffs.pdf

Actually 'paper.ascii' is a plain ASCII file with some 'escape
sequences' -- like literal backspace and repeated characters, to denote
*bold* text.  It's not valid groff input AFAIK, but you can strip off
the special characters with:

    gunzip -c /usr/share/doc/smm/05.fastfs/paper.ascii.gz > 05.fastfs.ascii
    col -b < 05.fastfs.ascii > 05.fastfs.txt && rm 05.fastfs.ascii

Then you have a plain text version of 05.fastfs.txt, which can be
converted to PS and/or PDF with tools like a2ps or enscript :)




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