GNU bug report logs -
#4115
grep and null device
Previous Next
Reported by: ts011c8050 <at> blueyonder.co.uk
Date: Tue, 11 Aug 2009 08:50:04 UTC
Severity: normal
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #30 received at 4115-done <at> emacsbugs.donarmstrong.com (full text, mbox):
> From: "Tom Shippey" <tomshippey <at> blueyonder.co.uk>
> 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.
This bug report was last modified 15 years and 345 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.