[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Cooker] strange problem with "hotplug" package
From: |
Jim Meyering |
Subject: |
Re: [Cooker] strange problem with "hotplug" package |
Date: |
Tue, 06 May 2003 22:12:20 +0200 |
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 <address@hidden> wrote:
...
> + /* don't close stdout for -q, consider ``grep -q pat <&- >&-'' */
> + if (!exit_on_match)
> + atexit(close_stdout);
- Re: [Cooker] strange problem with "hotplug" package, Andrey Borzenkov, 2003/05/06
- Re: [Cooker] strange problem with "hotplug" package, Stepan Kasal, 2003/05/06
- Re: [Cooker] strange problem with "hotplug" package,
Jim Meyering <=
- Iconsistent ls sorting with and without `v', Andrey Borzenkov, 2003/05/09
- Re: Iconsistent ls sorting with and without `v', Jim Meyering, 2003/05/10
- Re: Iconsistent ls sorting with and without `v', Andrey Borzenkov, 2003/05/10
- Re: Iconsistent ls sorting with and without `v', Stepan Kasal, 2003/05/11
- Re: Iconsistent ls sorting with and without `v', Thierry Vignaud, 2003/05/22