On 06/07/2015 09:00 PM, Volker Armin Hemmann wrote:
> Am 06.06.2015 um 18:45 schrieb Joseph:
>> I've bunch of php files in many directories and I need to file a text
>> string in them "Check/Money Order"
>>
>> I've tried:
>> find -type f -print0 | xargs -r0 grep -F 'Check/Money Order'
>> it doesn't work.
>>
>> What is a better method of searching files?
> 
> grep -R 'whateveryourarelookingfor /path/to/directory/tree/
> 
> seriously, why make everything fucking harder with find, when grep alone
> can do it for you?
> 
> 
        Take a breath, there is no need for swearing. It belittles your
argument. It also paints you as an uneducated buffoon - which I'm
assuming you aren't.

        Regards,
                Andrew

Reply via email to