[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] VI question
- Subject: [ale] VI question
- From: cfowler at outpostsentinel.com (Chris Fowler)
- Date: Thu May 6 16:05:04 2004
- In-reply-to: <[email protected]>
- References: <[email protected]>
On Thu, 2004-05-06 at 15:53, Robert L. Harris wrote:
> Ok, the problem is long solved using perl but how the heck can you use
> ":%s" to join multiple lines? Yes, it can be done with "J" but we
> wanted to join about 500 lines and I've done it with a substitution
> before but can't remember how.
>
cat file | perl -e 'while(<STDIN>) { chomp(); print $_ }'
Should work. Just my idea
> Anyone know?
>
>
> :wq!
> ---------------------------------------------------------------------------
> Robert L. Harris | GPG Key ID: E344DA3B
> @ x-hkp://pgp.mit.edu
> DISCLAIMER:
> These are MY OPINIONS ALONE. I speak for no-one else.
>
> With Dreams To Be A King First One Should Be A Man
> - Manowar
>
>
> ______________________________________________________________________
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale