From owner-ntemacs-users@june  Wed Nov 20 16:27:06 1996
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Wed" "20" "November" "1996" "18:25:49" "EST" "David S. Rosinger" "dsrosing@fed3005.reston.ingr.com" nil "36" "Re[2]: trouble using M-x grep" "^From:" nil nil "11" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.3/7.2ju) with SMTP id QAA09472 for <voelker@june.cs.washington.edu>; Wed, 20 Nov 1996 16:27:05 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id QAA29093 for <voelker@joker.cs.washington.edu>; Wed, 20 Nov 1996 16:27:03 -0800
Received: from fed3005.reston.ingr.com (kat_pn.reston.ingr.com [129.135.242.4]) by june.cs.washington.edu (8.8.3/7.2ju) with SMTP id PAA04299 for <ntemacs-users@cs.washington.edu>; Wed, 20 Nov 1996 15:20:22 -0800
Received: by fed3005.reston.ingr.com (5.65c/1.921207) 	id AA13266; Wed, 20 Nov 1996 18:25:54 -0500
Message-Id: <199611202325.AA13266@fed3005.reston.ingr.com>
Reply-To: dsrosing@ingr.com
In-Reply-To: <9611082129.AA05287@hpwat03.cup.hp.com>; from "Joachim Laubsch" at Nov 8, 96 1:29 pm
X-Mailer: ELM [version 07.00.00.00 (2.3 PL11)]
From: dsrosing@fed3005.reston.ingr.com (David S. Rosinger)
To: ntemacs-users@cs.washington.edu
Cc: laubsch@hpwat03.cup.hp.com (Joachim Laubsch)
Subject: Re[2]: trouble using M-x grep
Date: Wed, 20 Nov 96 18:25:49 EST

Joachim,

I believe you are having trouble with the Cygnus version
of grep because the Cygnus programs do not recognize
drive letters.  (Instead, they supply a `mount' command to
map a virtual partition to a drive letter.)

I am using another 32-bit grep which I got from
the Virtunix site:

    ftp://ftp.itribe.net/pub/virtunix/gnugrep.zip

This version *does* understand drive letters.

Windows NT also supplies a program named `findstr' which
behaves much like grep.  I believe you can redefine the
Emacs variable `grep-command' to use `findstr' instead
of `grep'.

>  > I had lots of troubles with grep, too, until I added this to my
>  > .emacs:
> 
>  >       (setq win32-quote-process-args t)
> 
>  > Wow!  What a difference! ;-)
> 
>  > See if that works.
> 
> This did not help in my case.  Can someone summarize what needs to be done to
> make grep, egrep or fgrep work in NTEMACS?

-- 
+------------------------------------------------+
| David S. Rosinger         /  dsrosing@ingr.com |
| Intergraph Corporation   /   (703) 264-5737    |
+------------------------------------------------+

From owner-ntemacs-users@june  Thu Jan 30 14:32:08 1997
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Thu" "30" "January" "1997" "11:16:43" "-0500" "Howard Melman" "howard@silverstream.com" nil "27" "problem with grep" "^From:" nil nil "1" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id NAA20140 for <voelker@june.cs.washington.edu>; Thu, 30 Jan 1997 13:14:58 -0800
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id NAA31690 for <voelker@joker.cs.washington.edu>; Thu, 30 Jan 1997 13:14:55 -0800
Received: from trout.cs.washington.edu (trout.cs.washington.edu [128.95.1.178]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with ESMTP id MAA09974 for <ntemacs-users@june.cs.washington.edu>; Thu, 30 Jan 1997 12:10:39 -0800
Received: from braveheart.silverstream.com (silverstream.com [204.164.96.2]) by trout.cs.washington.edu (8.8.5+CS/7.2ws+) with ESMTP id IAA17125 for <ntemacs-users@cs.washington.edu>; Thu, 30 Jan 1997 08:23:04 -0800 (PST)
Received: from ABSOLUT.silverstream.com ([204.164.96.168])           by braveheart.silverstream.com (Netscape Mail Server v2.0)           with SMTP id AAA105 for <ntemacs-users@cs.washington.edu>;           Thu, 30 Jan 1997 11:16:43 -0500
Message-ID: <19970130161642681.AAA105@ABSOLUT.silverstream.com>
From: Howard Melman <howard@silverstream.com>
To: ntemacs-users@cs.washington.edu
Subject: problem with grep
Date: Thu, 30 Jan 1997 11:16:43 -0500


I'm having a problem with GNU grep in conjunction with
igrep.el and was wondering if anyone came across the same
thing.  The problem occurs when grep'ing for a string
containing a space, but only when grep is piped filenames
from stdin.  I'm using cmd.exe on NT 4.0 but had the same
problems with bash.  I see the problem whether in emacs or
not.  In Emacs I see the same problem whether
win32-quote-process-args is t or nil.

This works:   grep "defconst h" *.el

This doesn't: find . -type f -name "*.el" -print | xargs grep "defconst h" NUL

the error is:

C:\HOWARD\elisp>find . -type f -name "*.el" -print | xargs grep "defconst h" NUL
grep: h: No such file or directory
./NEW/mouse-extracs.el:(defconst mouse-throw-magnifier-with-scroll-bar 
./NEW/mouse-extracs.el:(defconst mouse-throw-magnifier-with-mouse-movement
./NEW/mouse-extracs.el:(defconst mouse-throw-magnifier-min -6)

and it continues with all occurances of "defconst"

Anyone else see this?

Howard

