From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4115: marked as done (grep and null device) Date: Wed, 12 Aug 2009 17:40:05 +0000 Message-ID: References: <83my65j5u1.fsf@gnu.org> <3988.84.19.238.174.1249980110.UEIUQ2lbQEh6Qw==.squirrel@84.19.238.174> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1250098805-17997-0" X-Trace: ger.gmane.org 1250100160 21583 80.91.229.12 (12 Aug 2009 18:02:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2009 18:02:40 +0000 (UTC) To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 12 20:02:33 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MbI9g-0004FW-Qi for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Aug 2009 20:02:33 +0200 Original-Received: from localhost ([127.0.0.1]:49036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbI9e-0007J8-O1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Aug 2009 14:02:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MbHvE-0005MN-Jd for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2009 13:47:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MbHvA-0005Km-By for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2009 13:47:36 -0400 Original-Received: from [199.232.76.173] (port=53726 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MbHvA-0005Kf-1j for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2009 13:47:32 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40681) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MbHuc-0000Se-V6; Wed, 12 Aug 2009 13:47:00 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7CHknqC019246; Wed, 12 Aug 2009 10:46:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7CHe5oM018031; Wed, 12 Aug 2009 10:40:05 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4115 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30132 Archived-At: This is a multi-part message in MIME format... ------------=_1250098805-17997-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Wed, 12 Aug 2009 20:32:38 +0300 with message-id <83my65j5u1.fsf@gnu.org> and subject line Re: bug#4115: grep and null device has caused the Emacs bug report #4115, regarding grep and null device to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4115: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4115 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1250098805-17997-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 11 Aug 2009 08:42:02 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7B8g0DH006815 for ; Tue, 11 Aug 2009 01:42:02 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mamvd-0000s3-Er for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 04:41:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MamvZ-0000od-Hr for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 04:41:57 -0400 Received: from [199.232.76.173] (port=51329 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MamvZ-0000oS-C1 for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 04:41:53 -0400 Received: from smtp-out4.blueyonder.co.uk ([195.188.213.7]:45068) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MamvY-0003ZB-PV for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 04:41:53 -0400 Received: from [172.23.170.142] (helo=anti-virus02-09) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1MamvW-0004e0-OG for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 09:41:51 +0100 Received: from [195.188.53.231] (helo=webmail.blueyonder.co.uk) by asmtp-out3.blueyonder.co.uk with esmtp (Exim 4.52) id 1MamvW-0005Kq-0y for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 09:41:50 +0100 Received: from 84.19.238.174 (SquirrelMail authenticated user); by webmail.blueyonder.co.uk with HTTP; Tue, 11 Aug 2009 09:41:50 +0100 (BST) Message-ID: <3988.84.19.238.174.1249980110.UEIUQ2lbQEh6Qw==.squirrel@84.19.238.174> Date: Tue, 11 Aug 2009 09:41:50 +0100 (BST) Subject: grep and null device From: ts011c8050@blueyonder.co.uk To: bug-gnu-emacs@gnu.org User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Using emacs 23.1.1 on Windows ( also saw it on emacs 22.x and upgraded ) grep is from cygwin "GNU grep 2.5.3" Using rgrep always tags on a null device giving lots of output like grep: NUL: No such file or directory grep: NUL: No such file or directory grep: NUL: No such file or directory grep: NUL: No such file or directory grep: NUL: No such file or directory I've tried customising and turning of grep-use-null-device - as from a quick look at grep.el this is responsible. But no success. Bug recreated using -no-init-file and -no-site-file In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENG value of $XMODIFIERS: nil locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Custom Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e g g r e p * . a s C-a C-k $ F L A S H / L : : g r e p M-x r g r e p M-x r g r e p M-x r e p o r t - e m Recent messages: Creating group... Creating group members... 91% Creating group magic... Creating group state... Creating group... done Creating customization items ...done Resetting customization items...done Creating customization setup...done To install your edits, invoke [State] and choose the Set operation Grep finished (matches found) [2 times] ------------=_1250098805-17997-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4115-done) by emacsbugs.donarmstrong.com; 12 Aug 2009 17:32:46 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.2 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mtaout1.012.net.il (mtaout1.012.net.il [84.95.2.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7CHWiaJ016789 for <4115-done@emacsbugs.donarmstrong.com>; Wed, 12 Aug 2009 10:32:46 -0700 Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KO900900Y14VS00@i-mtaout1.012.net.il> for 4115-done@emacsbugs.donarmstrong.com; Wed, 12 Aug 2009 20:32:35 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.224.142]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KO9006TGY2AHW80@i-mtaout1.012.net.il>; Wed, 12 Aug 2009 20:32:35 +0300 (IDT) Date: Wed, 12 Aug 2009 20:32:38 +0300 From: Eli Zaretskii Subject: Re: bug#4115: grep and null device In-reply-to: <001501ca1b21$a118aca0$e34a05e0$@co.uk> X-012-Sender: halo1@inter.net.il To: Tom Shippey Cc: 4115-done@emacsbugs.donarmstrong.com Reply-to: Eli Zaretskii Message-id: <83my65j5u1.fsf@gnu.org> References: <3988.84.19.238.174.1249980110.UEIUQ2lbQEh6Qw==.squirrel@84.19.238.174> <83r5vijis5.fsf@gnu.org> <000001ca1ab4$f5c738b0$e155aa10$@co.uk> <83prb2jdhq.fsf@gnu.org> <000c01ca1acf$29cca3b0$7d65eb10$@co.uk> <83ocqlk9r3.fsf@gnu.org> <001501ca1b21$a118aca0$e34a05e0$@co.uk> > From: "Tom Shippey" > 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. ------------=_1250098805-17997-0--