From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8234 Path: news.gmane.org!not-for-mail From: Nelson Ferreira Newsgroups: gmane.emacs.gnus.user Subject: Re: grep a string in different maps. Date: Fri, 17 Nov 2006 20:12:15 -0500 Organization: - none - Message-ID: References: <1163757458.679316.268560@e3g2000cwe.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1163814032 22197 80.91.229.2 (18 Nov 2006 01:40:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Nov 2006 01:40:32 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat Nov 18 02:40:23 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GlFBn-0007yV-QF for gegu-info-gnus-english@m.gmane.org; Sat, 18 Nov 2006 02:40:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GlFBm-0005oH-V3 for gegu-info-gnus-english@m.gmane.org; Fri, 17 Nov 2006 20:40:14 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 23 Original-X-Trace: individual.net yLL0VzVLv6fCEnMoMPsKZQSZw2bBUalbtThzYt4BcBV+WHiU4v Mail-Copies-To: never User-Agent: Gnus/5.110006 (No Gnus v0.6) SXEmacs/22.1.6 (linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUmHxdbVUyVdGOriHfF qZx9gXrnvF8aAAAACXBIWXMAACNfAAAjXwHuwDalAAACAklEQVR42nVUQZLjIAwUWzV3cMb3RMw8 YBD5wAoe4Bj+/5Vt4cR2aneVSpyire6WBFD5TxC+PbVeW9dmj1Zqr7UZ0Dtzb60K9yMA1N5D6EDS 1Gf8X/qCR6O6BOduUYrINSB8cPboADw5zrmpMCG8/ZDrVIKnSTI8aPIO684jglGRA5EBsgyWsFGV TiGWDfgZgN+o6uJ+xTwQSc49NWg2qmlbNxE6AYFYNkR1t+VmuDLtDbEMd6LaTJmI3wsxcVr1Ceg5 o/SwPk1leSoPjXp1zIz13yInqpn0RgC+SslZFcX5V0ZBBlqLIkSUdy60BBmCSlRillsg/6KqnTix REgLs3+aMleoAyyC6oXjCRgFItTay1c6AOsV3rfq5RAfVB2esr4DoyWXbHZRvkZ/qnzx8QCuB4DR XkAyGi/xXGAgVGZV4MuvAW5UcMWiCuDq3lxNkmA2G7Bn2L7yFwDoYyx5r899QtzNzagM27VNfPEf TVIG02mCo1f+wxypjXZf31yFVYxHJdEbVQgP9BdE6w+dqbrHbkCGrnLMyTZ1DzQDUK2Rby9k9CqE iRl9vD84eb9r4Az68ACgD7aN5U8AMqavIt/YEHY48XHjcLrwmaYod8bmhuKIebPbEq8czVptYR5A g3ifMSKslTGs7WIYQGl2Avbb5T4QAPWviweXyLhk/hF4+Q+wWa5X3wHMdgAAAA90RVh0SlBFRy1R dWFsaXR5ADc13rg1kAAAABF0RVh0SlBFRy1Db2xvcnNwYWNlADKBDSEkAAAAIXRFWHRKUEVHLVNh bXBsaW5nLWZhY3RvcnMAMngyLDF4MSwxeDHlUdu4AAAAAElFTkSuQmCC Cancel-Lock: sha1:1DcvQHSlARhvAdqj6ZZM0S7YDxI= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:78419 Original-To: info-gnus-english@gnu.org X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:8234 Archived-At: "william" == william a george escreveu: [...] william> If I'm standing in the terminal directory then it is OK to find a william> string among the files in "terminal", but if I want to find the string william> when I'm standing in "SW" then it not possible. Grep cannot recurse william> through the directories. william> I tried this combination also: find . -name * -exec grep -n string NUL william> {} william> And I got a negative result too. william> Can someone please help me to find a way to solve my problem? In my setup, GNU grep supports the -r switch which does allow for recursion. I use it by M-x grep RET grep -rin string . RET -- Nelson Ferreira