vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] Is there something special about J[oin], or "why can't I do t


From: Chris G
Subject: Re: [vile] Is there something special about J[oin], or "why can't I do this?"
Date: Tue, 19 Aug 2008 13:11:37 +0100
User-agent: Mutt/1.5.17 (2007-11-01)

On Tue, Aug 19, 2008 at 09:45:50PM +1000, Brendan O'Dea wrote:
> On Tue, Aug 19, 2008 at 12:38:18PM +0100, Chris G wrote:
> > No, that doesn't work, I tried it.  I think (see my further postings)
> > that only a few commands work with :g and join isn't one of them.
> 
> Odd, it works for me.  Given a test file with 4 lines:
> 
>   a
>   b
>   c
>   d
> 
> the command:
> 
>   :g/b/j
> 
> results for me in three lines:
> 
>   a
>   b c
>   d
> 
> Using vile 9.5d
> 
I'm on 9.6l.  I've tested further and, yes, you're right j does work
but it's not doing quite what I'm expecting.  I'll have to check on
the file I'm working on to see if the pattern is *exactly* what I
think it is.  I suspect it may be me that has the problem!

Thanks!

-- 
Chris Green




reply via email to

[Prev in Thread] Current Thread [Next in Thread]