That is the last tool that i want to use.
It have no idea what pattern to search without looking at the file at the same 
time. I'll try with less ,then vim(slower) , then grep as the last resort

from iPhone


On Dec 17, 2013, at 13:46, "Chris Miller" <[email protected]> wrote:

> Searching across multiple files and showing only the matched lines? That 
> sounds like you want grep.
>  
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of ping song
> Sent: Tuesday, December 17, 2013 10:08 AM
> To: [email protected]
> Subject: [lug:18120] an old, small but hard question about `less`
>  
> less is so handy/quick...a swiss knife of file viewing.
>  
> amount the so many features, there are 2 of them I use the most:
>  
> search across multiple file : esc-/
> show only the matched lines: &
>  
> but a lot of time I want to do both at the same time: search across multiples 
> files and show me only the matched lines...
>  
> is that really not supported?
>  
> thanks!
> -- 
> -- 
> You received this message because you are subscribed to the Linux Users Group.
> To post a message, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit our group at 
> http://groups.google.com/group/linuxusersgroup
> References can be found at: http://goo.gl/anqri
> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or 
> http://cdn.fsdev.net/List-Rules.pdf)
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Linux Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
> -- 
> -- 
> You received this message because you are subscribed to the Linux Users Group.
> To post a message, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit our group at 
> http://groups.google.com/group/linuxusersgroup
> References can be found at: http://goo.gl/anqri
> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or 
> http://cdn.fsdev.net/List-Rules.pdf)
>  
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Linux Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules or 
http://cdn.fsdev.net/List-Rules.pdf)

--- 
You received this message because you are subscribed to the Google Groups 
"Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to