Re: [Cocci] Coccinelle: Checking the relevance of parentheses in “git grep”
From: Julia Lawall
Date: Tue Oct 27 2020 - 08:03:42 EST
On Tue, 27 Oct 2020, Markus Elfring wrote:
> >> … git grep -l -w \( -e for_each_node_by_type … -e for_each_node_with_property \) -- '*.c'
> >>
> >>
> >> How do you think about to omit these parentheses here?
> >
> > Does it make a difference?
>
> I find that it can be nicer to avoid the passing of unnecessary characters.
>
> * The compilation of the affected OCaml source files can eventually benefit
> from another bit of clean-up, can't it?
I have no idea what this means.
julia
> * The called software components do also not need to fiddle with such extra data then.
>
> Regards,
> Markus
>