From: Jason Rumney <jasonr@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>, 4115@emacsbugs.donarmstrong.com
Cc: shippeys <theshippeys@blueyonder.co.uk>
Subject: bug#4115: grep and null device
Date: Wed, 12 Aug 2009 06:47:41 +0800 [thread overview]
Message-ID: <4A81F50D.3010707@gnu.org> (raw)
In-Reply-To: <83prb2jdhq.fsf@gnu.org>
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.
next prev parent reply other threads:[~2009-08-11 22:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <83my65j5u1.fsf@gnu.org>
2009-08-11 8:41 ` bug#4115: grep and null device ts011c8050
2009-08-11 18:40 ` Eli Zaretskii
[not found] ` <000001ca1ab4$f5c738b0$e155aa10$@co.uk>
2009-08-11 20:34 ` Eli Zaretskii
2009-08-11 22:47 ` Jason Rumney [this message]
[not found] ` <000c01ca1acf$29cca3b0$7d65eb10$@co.uk>
2009-08-12 3:10 ` Eli Zaretskii
2009-08-12 17:40 ` bug#4115: marked as done (grep and null device) Emacs bug Tracking System
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A81F50D.3010707@gnu.org \
--to=jasonr@gnu.org \
--cc=4115@emacsbugs.donarmstrong.com \
--cc=eliz@gnu.org \
--cc=theshippeys@blueyonder.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.