Re: [COGITO PATCH] Fixing "cg-help typo" again
Hi, Jonas!
On Wed, 2005-06-15 at 01:43 +0200, Jonas Fonseca wrote:
Show 6 quoted lines
> Pavel Roskin <proski@gnu.org> wrote Tue, Jun 14, 2005:
> > I don't know any way to get return status of the first command in a
> > pipeline, so I changed to code to put print_help() output in a variable,
> > check status and then pipe the variable contents through colorize().
>
> Use the PIPESTATUS aray as in the patch I sent:
OK, your patch is better.
Acked-by: Pavel Roskin <proski@gnu.org>
--
Regards,
Pavel Roskin