From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: robert somerville Newsgroups: gmane.emacs.help Subject: re Modifying default find-grep command string Date: Tue, 25 Oct 2011 09:16:28 -0600 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e6d648150efa8d04b021062b X-Trace: dough.gmane.org 1319558505 5245 80.91.229.12 (25 Oct 2011 16:01:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2011 16:01:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 25 18:01:41 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RIjRd-0004pK-7R for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Oct 2011 18:01:41 +0200 Original-Received: from localhost ([::1]:54229 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIjRS-0000xo-84 for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Oct 2011 12:01:30 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIijy-0001Lp-Nk for help-gnu-emacs@gnu.org; Tue, 25 Oct 2011 11:16:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIiju-0007vo-K8 for help-gnu-emacs@gnu.org; Tue, 25 Oct 2011 11:16:34 -0400 Original-Received: from mail-wy0-f169.google.com ([74.125.82.169]:48791) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIiju-0007vh-Ee for help-gnu-emacs@gnu.org; Tue, 25 Oct 2011 11:16:30 -0400 Original-Received: by wyg34 with SMTP id 34so797801wyg.0 for ; Tue, 25 Oct 2011 08:16:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=6sSxyacVyDrnJa1vOmUhdvsVdC4q2dXwQEgA8E4uKK0=; b=Rmrik+z6BTqYr9Z7iYqDgrfzosd5gowfxLSsv7ZghreKUXkaLOTB0EkDOolqS8TInX tEcJh0qHAxAUN8mc6UCdt2NF14JY4sQcUplCTBCjmDZPKc8fGZfO3e4alMsaXO0d0+R2 h8Z5ncIMX7lGZ3sxbyYsycw/ZJ/p78xT+fHR4= Original-Received: by 10.216.90.4 with SMTP id d4mr6857691wef.22.1319555788896; Tue, 25 Oct 2011 08:16:28 -0700 (PDT) Original-Received: by 10.216.22.73 with HTTP; Tue, 25 Oct 2011 08:16:28 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 X-Mailman-Approved-At: Tue, 25 Oct 2011 12:01:23 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82647 Archived-At: --0016e6d648150efa8d04b021062b Content-Type: text/plain; charset=ISO-8859-1 can somebody explain to me (a lisp beginner) how to modify the find-grep default string ?? the default is: find . -type f -print0 | "xargs" -0 -e grep -nH -e i would like something like : find .. -name "*.cxx" -print0 | "xargs" -0 -e grep -inH -e thanks in advance Robert Somerville --0016e6d648150efa8d04b021062b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable can somebody explain to me (a lisp beginner) how to modify the find-grep de= fault string ??

the default is:
=A0find . -type f -print0 | "= ;xargs" -0 -e grep -nH -e

i would like something like :
=A0find ..=A0 -name "*.cxx"=A0=A0 -print0 | "xargs" -0 = -e grep -inH -e


thanks in advance
Robert Somerville



--0016e6d648150efa8d04b021062b--