From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#4115: grep and null device Date: Tue, 11 Aug 2009 23:34:57 +0300 Message-ID: <83prb2jdhq.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> Reply-To: Eli Zaretskii , 4115@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1250023641 799 80.91.229.12 (11 Aug 2009 20:47:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Aug 2009 20:47:21 +0000 (UTC) Cc: 4115@emacsbugs.donarmstrong.com To: shippeys Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 11 22:47:14 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 1MayFR-0004HY-OI for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Aug 2009 22:47:10 +0200 Original-Received: from localhost ([127.0.0.1]:51893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MayFQ-0001vm-57 for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Aug 2009 16:47:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MayFE-0001t0-GM for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 16:46:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MayF9-0001rM-Uv for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 16:46:56 -0400 Original-Received: from [199.232.76.173] (port=47720 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MayF9-0001r5-G0 for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 16:46:51 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58656) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MayF8-0006UW-Rh for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 16:46:51 -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 n7BKkmqX023917; Tue, 11 Aug 2009 13:46:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7BKe5La023227; Tue, 11 Aug 2009 13:40:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 11 Aug 2009 20:40:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4115 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4115-submit@emacsbugs.donarmstrong.com id=B4115.125002290422802 (code B ref 4115); Tue, 11 Aug 2009 20:40:05 +0000 Original-Received: (at 4115) by emacsbugs.donarmstrong.com; 11 Aug 2009 20:35:04 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout3.012.net.il (mtaout3.012.net.il [84.95.2.7]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7BKZ2G4022735 for <4115@emacsbugs.donarmstrong.com>; Tue, 11 Aug 2009 13:35:04 -0700 Original-Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KO800M00BMHTJ00@i_mtaout3.012.net.il> for 4115@emacsbugs.donarmstrong.com; Tue, 11 Aug 2009 23:34:55 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.228.224.142]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KO800DMRBU6PW90@i_mtaout3.012.net.il>; Tue, 11 Aug 2009 23:34:55 +0300 (IDT) In-reply-to: <000001ca1ab4$f5c738b0$e155aa10$@co.uk> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 11 Aug 2009 16:46:56 -0400 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:30116 Archived-At: > From: "shippeys" > Date: Tue, 11 Aug 2009 19:53:05 +0100 Please use Reply-All, to let the bug-tracker archive all the discussion. > > > grep: NUL: No such file or directory > > > > Does Cygwin support NUL as the Windows null device? If not, that's > > your problem. > > > > Yes - Would it be the grep.el code that gets confused and picks NUL? You are using a native Windows port of Emacs. NUL is the standard name of the null device on that system. Why do you think it gets confused? > AIUI the null device is only there to make sure the grep call doesn't hang > if you forget to pass it files to search. It seems a lot of pain for a > marginal benefit! I don't know yet why null device is there. Seeing the command line would help.