On 06/06/2015 18:45, Joseph wrote: > 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?
Define "doesn't work" in this context. My guess is that the string you want isn't actually there. If it is there, provide a sample of the source text containing the string. -- Alan McKinnon alan.mckin...@gmail.com