Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] search files for "text string"
Date: Sat, 06 Jun 2015 21:04:19
Message-Id: 55736040.50407@gmail.com
In Reply to: [gentoo-user] search files for "text string" by Joseph
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

Replies

Subject Author
Re: [gentoo-user] search files for "text string" Joseph <syscon780@×××××.com>