From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.bugs Subject: bug#4115: grep and null device Date: Wed, 12 Aug 2009 06:47:41 +0800 Message-ID: <4A81F50D.3010707@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> Reply-To: Jason Rumney , 4115@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250032042 16299 80.91.229.12 (11 Aug 2009 23:07:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Aug 2009 23:07:22 +0000 (UTC) Cc: shippeys To: Eli Zaretskii , 4115@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 12 01:07: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 1Mb0R0-0004nv-Iy for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Aug 2009 01:07:14 +0200 Original-Received: from localhost ([127.0.0.1]:60433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mb0Qy-0003lN-LQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Aug 2009 19:07:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mb0Qu-0003l5-1J for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 19:07:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mb0Qp-0003jW-H5 for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 19:07:07 -0400 Original-Received: from [199.232.76.173] (port=35530 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mb0Qp-0003jQ-8A for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 19:07:03 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38232) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mb0Qo-00083m-Jt for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2009 19:07:02 -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 n7BN6mYF005752; Tue, 11 Aug 2009 16:06:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7BMt4wi003777; Tue, 11 Aug 2009 15:55:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Jason Rumney Original-Sender: Jason Rumney Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 11 Aug 2009 22:55:04 +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.12500308733265 (code B ref 4115); Tue, 11 Aug 2009 22:55:04 +0000 Original-Received: (at 4115) by emacsbugs.donarmstrong.com; 11 Aug 2009 22:47:53 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-pz0-f198.google.com (mail-pz0-f198.google.com [209.85.222.198]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7BMlpQ7003259 for <4115@emacsbugs.donarmstrong.com>; Tue, 11 Aug 2009 15:47:52 -0700 Original-Received: by pzk36 with SMTP id 36so4033533pzk.13 for <4115@emacsbugs.donarmstrong.com>; Tue, 11 Aug 2009 15:47:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:message-id :date:from:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=STAMvvKJRIFkq0N8Qz+SWN2DXNDgs7Vo4dBxgVCm8Qg=; b=aMTxu1vflQ7xPYR9B1xjac2+9MMHx2pe1CsyNyAKQpE+VVTN2B7LrfCwTNs149Fs8c wQeMRtftc3A+405mUxNuh9QKUuH9d6S/JbphPYBZ1bBEhGENl2RHCvV7x3jBCyohgy+y LfFbzHYgOrK8NV0qr/06rBZoUQpvHJyH2fApk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=xGaqocGuDr392GBm3efDNbmGOrXS/uJ/1UeGdqTb7+K8mAlMds6YeuXLRfeIZKq3/H RK66HqHZTExxG2wKQTHXGyLVzrqgWWKvUFo8xFG7lhmvzxlT+OJkhVv/iug6Q6+lNP9G 5Nao5fI8CpZFKEef5bnw6mnkCj7xsQSncjLT8= Original-Received: by 10.114.201.10 with SMTP id y10mr8899367waf.95.1250030866220; Tue, 11 Aug 2009 15:47:46 -0700 (PDT) Original-Received: from wanchan.jasonrumney.net ([124.13.5.71]) by mx.google.com with ESMTPS id m28sm11480222waf.37.2009.08.11.15.47.44 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 11 Aug 2009 15:47:45 -0700 (PDT) Original-Received: from wanchan.jasonrumney.net (localhost [127.0.0.1]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 3056CB71; Wed, 12 Aug 2009 06:47:42 +0800 (MYT) User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) In-Reply-To: <83prb2jdhq.fsf@gnu.org> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 11 Aug 2009 19:07:07 -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:30117 Archived-At: Eli Zaretskii wrote: >> 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. > It is there to force grep to print filenames in its output, even if only a single filename is given on the command line.