Gentoo Archives: gentoo-user

From: Volker Armin Hemmann <volkerarmin@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] search files for "text string"
Date: Sun, 07 Jun 2015 13:00:01
Message-Id: 55744047.4080103@googlemail.com
In Reply to: Re: [gentoo-user] search files for "text string" by Neil Bothwick
1 Am 07.06.2015 um 01:40 schrieb Neil Bothwick:
2 > On Sat, 6 Jun 2015 13:11:04 -0400, Philip Webb wrote:
3 >
4 >>> I've bunch of php files in many directories
5 >>> and I need to find a text string in them "Check/Money Order"
6 >> 'cd' to the lowest dir which contains them all,
7 >> then 'grep -r "Check/Money Order" *.php'.
8 > That will only search *.php files in the current directory, you need
9
10 nope
11
12 >
13 > grep -r --include='*.php' 'Check/Money Order' .
14
15 not true either.

Replies

Subject Author
Re: [gentoo-user] search files for "text string" Neil Bothwick <neil@××××××××××.uk>