Subject: Re: bug#4115: grep and null device

From: Eli Zaretskii <[email-masked]>
Date: Wed, 12 Aug 2009 20:32:38 +0300

> From: "Tom Shippey" <[email-masked]>
> Date: Wed, 12 Aug 2009 08:50:57 +0100
> 
> > > find . \( -path \*/SCCS -o -path \*/RCS -o -path \*/CVS -o -path
> > \*/MCVS -o
> > > -path \*/.svn -o -path \*/.git -o -path \*/.hg -o -path \*/.bzr -o -
> > path
> > > \*/_MTN -o -path \*/_darcs -o -path \*/\{arch\} \) -prune -o  -type f
> > \(
> > > -iname \*.c \) -exec grep -i -n junk {} NUL \;
> > > ./x.c:1:junk
> > > ./x.c:3:junk
> > > grep: NUL: No such file or directory
> > > grep: NUL: No such file or directory
> > 
> > Does it help to set null-device to "/dev/null"?
> 
> Yep - that works fine. Many thanks.

Thanks.  I'm closing the bug, because its reason is mixing a native
Windows build of Emacs with Cygwin shell that apparently does not
support NUL as the null device.