NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Option -p in apropos(1)
On Tue, 2022-05-17 at 07:59 +0000, RVP wrote:
> On Mon, 16 May 2022, David H. Gutteridge wrote:
>
> > Thanks for this, I've applied a similar patch to HEAD. Assuming
> > everyone's satisfied, I could request a pullup to netbsd-9.
> >
>
> Thanks for that. Another patch below:
>
> 1. Ignore SIGPIPE so that we're not killed in the middle of some
> DB operation by a botched $PAGER:
>
> $ env PAGER=/non-existent apropos -p ...
>
> 2. Return proper exit status in case of write errors:
>
> $ apropos ... >/dev/full || echo fail
>
[...]
Thanks, I've applied that basically verbatim.
Cheers,
Dave
Home |
Main Index |
Thread Index |
Old Index