unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Donald H Locker <dhlocker@comcast.net>
To: 29680@debbugs.gnu.org
Subject: bug#29680: another grep-find anomalous behaviour
Date: Fri, 15 Dec 2017 07:25:33 -0500	[thread overview]
Message-ID: <9d528dc5-c3a6-e612-9999-5b386571d817@comcast.net> (raw)
In-Reply-To: <8b31cf6a-da03-2e80-459b-021c47def8c6@comcast.net>

-*- mode: grep; default-directory: 
"c:/workingSVN/2017-08-21-xxxxx-v2g-test-model/Model_withEVSE/" -*-
Grep started at Fri Dec 15 07:12:23

find . -type f -name '*.log' -exec grep -nHE 'CurrentDemand' {} \;
/usr/bin/find: paths must precede expression
Usage: /usr/bin/find [path...] [expression]

Grep exited abnormally with code 1 at Fri Dec 15 07:12:23

######### from the next higher directory - works as expected #########

-*- mode: grep; default-directory: 
"c:/workingSVN/2017-08-21-xxxxx-v2g-test-model/" -*-
Grep started at Fri Dec 15 07:12:23

find . -type f -name '*.log' -exec grep -nHE 'CurrentDemand' {} \;
[lines found] ...
Grep finished (matches found) at Fri Dec 15 07:20:57

######### notes ##########

Command (copied and pasted from the emacs grep buffer) works correctly 
from bash (cygwin-64, mintty) in either of those directories.

GNU Emacs 24.5.1 (i686-pc-mingw32)
  of 2015-04-11 on LEG570
Windows-7, 64-bit, patched up-to-date

Donald.
-- 
*Plain Text* email -- it's an accessibility issue
() no proprietary attachments; no html mail
/\ <http://www.georgedillon.com/web/html_email_is_evil.shtml>





  reply	other threads:[~2017-12-15 12:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-12 20:36 bug#29680: 24.5; find-grep not finding a file or missing the grep Donald H Locker
2017-12-15 12:25 ` Donald H Locker [this message]
2017-12-15 16:49   ` bug#29680: another grep-find anomalous behaviour Eli Zaretskii
2017-12-15 16:52     ` Eli Zaretskii
2017-12-15 18:46     ` Donald H Locker
2017-12-15 20:42       ` Eli Zaretskii
2017-12-18 12:35         ` Donald H Locker
2017-12-18 16:21           ` Eli Zaretskii
2017-12-18 17:18             ` Donald H Locker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9d528dc5-c3a6-e612-9999-5b386571d817@comcast.net \
    --to=dhlocker@comcast.net \
    --cc=29680@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).