On 2011-05-08, Julia Lawall <[email protected]> wrote:
> Thanks for the update.  I'm not completely sure to understand the=20
> solution, though.  Could we just use the linux pattern as is, and then=20
> call gegrep instead of egrep?

That's possible, though coccinelle would be more portable to
other OS if it only used POSIX extended regular expressions
(these should work ok with GNU grep too).

It's a pity the manuals for the GNU tools don't seem to clearly
indicate which options you can expect to work on other OS and
which are non-standard extensions. (-B for diff is another..)


_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to