Re: Blank lines not being squeezed
From: Fred Ma (fma_at_doe.carleton.ca)
Date: 03/26/04
- Previous message: Chris F.A. Johnson: "Re: Blank lines not being squeezed"
- In reply to: Chris F.A. Johnson: "Re: Blank lines not being squeezed"
- Next in thread: Chris F.A. Johnson: "Re: Blank lines not being squeezed"
- Reply: Chris F.A. Johnson: "Re: Blank lines not being squeezed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Mar 2004 04:40:23 GMT
"Chris F.A. Johnson" wrote:
>
> On Fri, 26 Mar 2004 at 04:03 GMT, Fred Ma wrote:
> >
> > I was using various methods to turn a few man pages
> > into compact text pages. In bash notation:
> >
> > man man | PAGER -s | col -bx >| TextFile.txt
>
> man man | col -bx | tr -s '\n' >| TextFile.txt
>
> --
> Chris F.A. Johnson http://cfaj.freeshell.org/shell
> ===================================================================
> My code (if any) in this post is copyright 2004, Chris F.A. Johnson
> and may be copied under the terms of the GNU General Public License
Hi, Chris,
You seem to be answering alot of my questions.
Thanks for pointing out the tr command. I wonder,
though, why "more" or "less" would not behave in
the way that I expected when its output is piped
or redirected? They do a nice job otherwise,
because the single blank line they leave behind
helps to space things out a bit.
Fred
- Previous message: Chris F.A. Johnson: "Re: Blank lines not being squeezed"
- In reply to: Chris F.A. Johnson: "Re: Blank lines not being squeezed"
- Next in thread: Chris F.A. Johnson: "Re: Blank lines not being squeezed"
- Reply: Chris F.A. Johnson: "Re: Blank lines not being squeezed"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|