[CLUE-Tech] Cool tip place URL
Kevin Cullis
kevincu at orci.com
Sun Jan 6 17:28:56 MST 2002
Hey all,
I found this and want to let you all know about it:
http://www.ugu.com/sui/ugu/warp.ugu
Go to the Daily Tip under Help Me
The one I read about:
> CONVERT MAN PAGES TO TEXT
>
>
> There can often be times when you
> want man pages in print, or to
> simply save them to text for
> something like HTML use. The
> common thing that people do is:
>
> man lp > lp.txt
>
> This will take the output of lp
> and put it to a file named lp.txt,
> but it will keep all the formatting
> in the document. In order to get rid
> of those characters, do the
> following:
>
> man lp | col -b > lp.txt
>
> Create the text file both ways
> naming one of them "lp2.txt" and
> do a "diff" on them. You'll see the
> difference then.
Enjoy, I got some good info. Shows how the tools of Linux can be
exponential in use.
Kevin
More information about the clue-tech
mailing list