tags 387864 fixed-upstream
thanks
On Sun, Sep 17, 2006 at 02:03:21AM -0400, A. Costa wrote:
> Piping 'man' to 'grep -m 1' didn't used to give errors,
> but now:
>
> % man bash | grep -m 1 bash ; echo $?
> bash - GNU Bourne-Again SHell
> man: command exited with status 13: /usr/bin/zsoelim /tmp/zmanejXLZa |
> /usr/bin/tbl | /usr/bin/nroff -mandoc -Tascii | /usr/bin/col -b -p -x |
> /usr/bin/pager -s
> 0
>
> And yet if I grep a string that's not present:
>
> % man bash | grep -m 1 baaaaaaaash ; echo $?
> 1
>
> I'm not sure whether the bug is in 'man-db' or 'grep'.
It's a man-db bug, now fixed in upstream CVS. Thanks for your report!
Sun Sep 17 09:20:33 BST 2006 Colin Watson <[EMAIL PROTECTED]>
* lib/pipeline.c (pipeline_start): Ignore SIGPIPE in child processes
(Debian bug #387864).
* docs/NEWS: Document this.
--
Colin Watson [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]