Re: Blank lines not being squeezed

From: Fred Ma (fma_at_doe.carleton.ca)
Date: 03/26/04

  • Next message: Fred Ma: "Re: vim global replace"
    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


  • Next message: Fred Ma: "Re: vim global replace"

    Relevant Pages

    • Football for Baseball
      ... 193 Chris Simms ... 199 Rudi Johnson ... 225 Mike Peterson ... Marvin Harrison ...
      (rec.collecting.sport.football)
    • football for baseball
      ... Thing is we only collect cards of a few baseball players ... 193 Chris Simms ... 199 Rudi Johnson ... Marvin Harrison ...
      (rec.collecting.sport.baseball)
    • Re: sed problem: variables countaining special symbols
      ... Chris F.A. Johnson wrote: ... My script is falling over with a sed problem. ... That's bacause $NPASS contains a slash. ...
      (comp.unix.shell)
    • Re: Interesting list
      ... On 2007-06-13, Chris F.A. Johnson wrote: ... of the top ten ways to irritate your Web site's visitors. ... Pop Ups ...
      (alt.html)
    • Re: help w/unix loops
      ... >> Is it the last two characters preceding the space? ... Read the man page for your shell to learn how to do it. ... My code in this post is copyright 2003, Chris F.A. Johnson ...
      (comp.unix.shell)