From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Meyering Date: Tue, 06 May 2003 20:12:20 +0000 Subject: Re: [Cooker] strange problem with "hotplug" package Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi Stepan! With your new version of grep, will `grep -q --help > /dev/full' fail? I was surprised to see that with 2.5.1, it does give a diagnostic, but doesn't actually fail: $ grep -q --help > /dev/full && echo ok grep: write error: No space left on device ok While without -q, it works as I'd expect: $ grep --help > /dev/full && echo ok grep: write error: No space left on device [Exit 1] Jim P.S. Thanks for taking up the reins of GNU grep. Stepan Kasal wrote: ... > + /* don't close stdout for -q, consider ``grep -q pat <&- >&-'' */ > + if (!exit_on_match) > + atexit(close_stdout); ------------------------------------------------------- Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara The only event dedicated to issues related to Linux enterprise solutions www.enterpriselinuxforum.com _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel