From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Donald H Locker Newsgroups: gmane.emacs.bugs Subject: bug#29680: another grep-find anomalous behaviour Date: Mon, 18 Dec 2017 12:18:41 -0500 Message-ID: References: <8b31cf6a-da03-2e80-459b-021c47def8c6@comcast.net> <9d528dc5-c3a6-e612-9999-5b386571d817@comcast.net> <83zi6krl6p.fsf@gnu.org> <83vah7soy3.fsf@gnu.org> <8b7fa7fd-9693-e2de-4eb8-84bcbbe4f427@comcast.net> <83r2rsovlq.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1513618607 7310 195.159.176.226 (18 Dec 2017 17:36:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 18 Dec 2017 17:36:47 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 Cc: 29680@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 18 18:36:43 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQzLG-0001Om-AF for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Dec 2017 18:36:42 +0100 Original-Received: from localhost ([::1]:58797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQzNB-0000pN-7A for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Dec 2017 12:38:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQz4E-00017w-AI for bug-gnu-emacs@gnu.org; Mon, 18 Dec 2017 12:19:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQz4A-0001v4-7d for bug-gnu-emacs@gnu.org; Mon, 18 Dec 2017 12:19:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60346) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQz4A-0001ub-43 for bug-gnu-emacs@gnu.org; Mon, 18 Dec 2017 12:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eQz49-0004kn-UK for bug-gnu-emacs@gnu.org; Mon, 18 Dec 2017 12:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Donald H Locker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Dec 2017 17:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29680 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 29680-submit@debbugs.gnu.org id=B29680.151361753918266 (code B ref 29680); Mon, 18 Dec 2017 17:19:01 +0000 Original-Received: (at 29680) by debbugs.gnu.org; 18 Dec 2017 17:18:59 +0000 Original-Received: from localhost ([127.0.0.1]:40794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQz47-0004kX-I2 for submit@debbugs.gnu.org; Mon, 18 Dec 2017 12:18:59 -0500 Original-Received: from resqmta-ch2-01v.sys.comcast.net ([69.252.207.33]:42138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eQz46-0004kJ-DA for 29680@debbugs.gnu.org; Mon, 18 Dec 2017 12:18:58 -0500 Original-Received: from resomta-ch2-18v.sys.comcast.net ([69.252.207.114]) by resqmta-ch2-01v.sys.comcast.net with ESMTP id Qz3Le1BNVtSqDQz40efeJu; Mon, 18 Dec 2017 17:18:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1513617532; bh=uoX/UZiRyO9A0aH7AVitofhU93MlDN3hm+2nYXNN3rI=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=BcLo5DuKs1rVLW7togzFMllwxFFhd+ZLpgshjKjYv6Q66Bt/MKJ1rp1YVTteX/lT+ 6xPCr+BBcRKy24cqx2Mo/Wg8MaDhsqw13lL5Xed/4Ua7DMLIRwrRIzCUgMNdhCoju0 MfJ8acfyHmzJo+ELAytomN32q4rgJkq67xZIegrLKeOFlbJVq2hHyyJDgLRHx0ekFG wYF+zsvo+zOYSYSjRhtqEaj6AA1TIuOl+ONquWA6d48Lt31aM3MmJ4k0tNopcmWloH MIVhoSmMZ9IVot8+fTauyR2nxDQYBy8BhUxNoEgStq/tAeQM6GF0Sp1zsZkaKuSg9L 7rvlfbCS0UabA== Original-Received: from [192.168.6.129] ([66.79.197.2]) by resomta-ch2-18v.sys.comcast.net with SMTP id Qz3peZ0tcyBH2Qz3sepLeo; Mon, 18 Dec 2017 17:18:50 +0000 In-Reply-To: <83r2rsovlq.fsf@gnu.org> Content-Language: en-US X-CMAE-Envelope: MS4wfIxhW+UhwgZurbuGlraKKU2fVp6RH4pdXUUtXaXEJpjfiOIEHROZJF9AghLQcBO7qyFV6Ir8d7Z8EtW3ucaGnzhCqEDkWo+RIa5PD8WIOw+dgIkJ4eJ+ AG9beZDfS4rZHOSOhw3ryAmuoYVKkcchcny9V7KJ7ldO00kRIRXLS3ju+ZKftZ3RgswQiqjN9bm4qw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:141225 Archived-At: I'm going to suggest this bug be held in abeyance until I test a few other issues; this may well be a cygwin behaviour, in retrospect. I recently had to change all of my "egrep" to "grep -E" to address other issues, likely related to cygwin updates. My system log indicates updates of cygwin on 03Nov2017, 27Nov2017, 05Dec2017, and 15Dec2017. (This is the largest cluster of updates I have done within the last year.) Curiously, the 27Nov update included a w32api-runtime update, and this approximately coincides with the beginning of some of the troubles I am having. (I use find-grep _a_lot_ and don't remember ever having any problems until recently. I probably should have looked at my system log before raising a bug about emacs.) To answer the question: My typing was the source of the 'quotes' and the \\quoted-* (the default command presented in the minibuffer was find . -type f -exec grep -nHE {} \; I supply the "-name 'blahblah'" and the "regexp".) Donald. -- *Plain Text* email -- it's an accessibility issue () no proprietary attachments; no html mail /\ On 18-Dec-2017 11:21, Eli Zaretskii wrote: >> Cc: 29680@debbugs.gnu.org >> From: Donald H Locker >> Date: Mon, 18 Dec 2017 07:35:22 -0500 >> >> It would appear that quoting of the '*.log' part of the command is at >> fault. Changing the line from >> >> -name '*.log' >> to >> >> -name \\*.log >> >> allows the find to proceed normally. There are several files with .log >> extensions in the directory from which the find-grep fails. > > Makes sense. > > It's probably some subtle snafu with command-line quoting. Were the > 'qoutes' typed by you, or did Emacs produce them? > > In any case, if you can spot where this quoting goes wrong, please > tell the details. The combination of a native Windows Emacs and > Cygwin shell/utilities is relatively less well tested and has > subtleties, so I'm not surprised to hear about such problems. >