[ale] VI question
Chris Fowler
cfowler at outpostsentinel.com
Thu May 6 16:05:04 EDT 2004
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
More information about the Ale
mailing list