On Tue, Sep 27, 2016 at 09:39:42PM -0400, Thomas Dickey wrote:
> On Tue, Sep 27, 2016 at 08:42:31PM -0400, Wayne Cuddy wrote:
> > On Tue, Sep 27, 2016 at 07:39:49PM -0400, Thomas Dickey wrote:
> > > ----- Original Message -----
> > > | From: "Wayne Cuddy" <[email protected]>
> > > | To: "Vile List" <[email protected]>
> > > | Sent: Tuesday, September 27, 2016 4:08:35 PM
> > > | Subject: Re: [vile] print-prefixed-lines-til
> > > | 
> > > | On Tue, Sep 27, 2016 at 04:06:36PM -0400, Wayne Cuddy wrote:
> > > | > Does a function exist like print-prefixed-lines-til that will not
> > > | > prefix each line with the name of the source buffer?  All I'm after
> > > | > are line numbers.
> > > 
> > > :%num
> 
> > That's not quite exactly what I'm looking for, sorry I didn't
> > accurately describe what I wanted...
> > 
> > Specifically what I'm looking for is output in the [p-lines] buffer
> > similar to what is produced by :g,pattern,pp but without the buffer name
> > prefixed on each line.
> 
> I see (no, there's no command for that).  But you can get something like
> that using
> 
>       :e !grep -n . %
> 
> -- 
> Thomas E. Dickey <[email protected]>
> http://invisible-island.net
> ftp://invisible-island.net

Ahh that's perfect and actually faster for the large files I'm working
with.

Thanks again.

_______________________________________________
vile mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/vile

Reply via email to