Kernel parameters

Vu Pham vu at sivell.com
Mon May 14 11:22:46 PDT 2012


On 05/14/2012 01:17 PM, Lonni J Friedman wrote:
> On Mon, May 14, 2012 at 11:17 AM, Vu Pham<vu at sivell.com>  wrote:
>> On 05/14/2012 09:42 AM, Doug Hunley wrote:
>>> On Sun, May 13, 2012 at 12:31 AM, vu Pham<vu at sivell.com>    wrote:
>>>> find . | xargs grep ucast_solicit
>>>
>>> inefficient. use 'grep -rn ucast_solicit *' instead
>>> ;)
>>>
>>
>> I agree.
>>
>> The reason I use find most of the time is find supports the filename
>> patterns such as ker*.txt or *parm*. I cannot do that  in grep. Of
>> course, in this particular case, I do not have to use find, and your
>> solution is better.
>
> Sure grep can.  That's what regex support is for.

Just looked at the man grep, and you are right. Doug, I take my words 
back :). Just tried the --include and it works fine.

Thanks both of you. I learned something today.

Vu


More information about the Linux-users mailing list