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

Re: How to save filtered less results in a file or on stdout



On Lu, 29 mar 21, 01:20:18, l0f4r0@tuta.io wrote:
>
> Actually, I asked this question because of my workflow here.
> 
> First, I use the less pager to navigate quickly inside an input, not knowing beforehand what it looks like and what I will need to do.
> Then, I filter some lines depending on my own investigation.
> And finally, I'm thinking that it would be too bad to lose the remaining lines so I'm looking for a way to save them eventually.

If you are willing to learn (neo)vim, '(n)vim -R' as 'view' can be used 
instead of 'less', with all the power of an advanced editor at your 
disposal.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Attachment: signature.asc
Description: PGP signature


Reply to: