Re: [PATCH] rust: Use grep -Ev rather than relying on GNU grep

From: Trevor Gross
Date: Thu Sep 28 2023 - 17:00:52 EST


On Thu, Sep 28, 2023 at 4:14 PM Matthew Maurer <mmaurer@xxxxxxxxxx> wrote:
>
> While GNU grep supports '\|' when in basic regular expression mode, not
> all grep implementations do (notably toybox grep, used to build the
> Android kernel, does not). Switching to grep -Ev enables extended
> regular expresions which includes support for the '|' operator.
>
> Signed-off-by: Matthew Maurer <mmaurer@xxxxxxxxxx>
> ---

Reviewed-by: Trevor Gross <tmgross@xxxxxxxxx>