1 |
On 06/06/2015 18:45, Joseph wrote: |
2 |
> I've bunch of php files in many directories and I need to file a text |
3 |
> string in them "Check/Money Order" |
4 |
> |
5 |
> I've tried: |
6 |
> find -type f -print0 | xargs -r0 grep -F 'Check/Money Order' |
7 |
> it doesn't work. |
8 |
> |
9 |
> What is a better method of searching files? |
10 |
|
11 |
|
12 |
Define "doesn't work" in this context. |
13 |
|
14 |
My guess is that the string you want isn't actually there. |
15 |
If it is there, provide a sample of the source text containing the string. |
16 |
|
17 |
-- |
18 |
Alan McKinnon |
19 |
alan.mckinnon@×××××.com |