[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4115: grep and null device

From: Jason Rumney
Subject: bug#4115: grep and null device
Date: Wed, 12 Aug 2009 06:47:41 +0800
User-agent: Mozilla-Thunderbird (X11/20090103)

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]