From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Some error info from configure.bat please Date: Mon, 04 Jul 2005 10:54:30 -0400 Message-ID: References: <42C65F1B.1030706@student.lu.se> <42C70919.2070705@student.lu.se> <42C73742.3020605@student.lu.se> <42C798DF.40200@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1120489905 18844 80.91.229.2 (4 Jul 2005 15:11:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 4 Jul 2005 15:11:45 +0000 (UTC) Cc: Juanma Barranquero , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 04 17:11:44 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DpSaS-00077j-JR for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2005 17:10:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpSbf-0005Ft-G4 for ged-emacs-devel@m.gmane.org; Mon, 04 Jul 2005 11:11:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DpSWR-0002v7-PR for emacs-devel@gnu.org; Mon, 04 Jul 2005 11:06:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DpSWG-0002ph-Mz for emacs-devel@gnu.org; Mon, 04 Jul 2005 11:06:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DpSWG-0002le-FG for emacs-devel@gnu.org; Mon, 04 Jul 2005 11:06:00 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DpSR2-0003jy-7c; Mon, 04 Jul 2005 11:00:36 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 433002CF54E; Mon, 4 Jul 2005 10:54:35 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 5F66A4AC00A; Mon, 4 Jul 2005 10:54:30 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 4087CE6C1B; Mon, 4 Jul 2005 10:54:30 -0400 (EDT) Original-To: Eli Zaretskii In-Reply-To: (Eli Zaretskii's message of "Sun, 03 Jul 2005 20:58:17 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.847, requis 5, autolearn=not spam, AWL 0.05, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:40337 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40337 [ As a long time zsh user, I'm biased of course. ] >> > (the "**" feature alone is something to kill for) Agreed. Eshell has it also, BTW. >> Could you please describe it briefly? > "fgrep STRING /foo/bar/**/*.c" will look for the named string in all > *.c files in /foo/bar and in all its subdirectories, recursively (and > is much faster than "fgrep -R STRING /foo/bar/**/* --include='*.c'" > you will need without the ** feature). It's not just speed. In many cases you can use find|xargs to get a similar result, but there are cases where he ** thingy is difficult to emulate with other tools. One example I've used releatedly is for f in **/CVS/Root; do ... done if you havedirectories named "CVS" that don't have a "Root" fine in them, the above code is difficult to simulate with find. Stefan