https://bugs.exim.org/show_bug.cgi?id=2294
--- Comment #3 from Philip Hazel <[email protected]> --- (In reply to Elliott Hughes from comment #2) > sadly you greatly underestimate the cost of starting an unnecessary new > shell on mobile devices :-( Ah yes, I have almost zero experience, apart from using one. (I did play with Android Studio a bit, but mainly to learn a bit about Android, nothing serious.) > how about checking argv[0]? if your concern is having bit-rotted code behind > an #if so only folks who deliberately call their pcre2grep binary "grep" get > the POSIX grep behavior. anyone who keeps it as pcre2grep keeps the > pcre2grep behavior. This is a nice idea, but I'm cautious because I suspect there are people out there who already rename or alias pcre2grep as grep, and I'd rather not break their worlds. How about this compromise: Implement -E, -G, and -P as suggested, and also do my original idea of a build-time option for selecting which is the default. Then recommend very strongly that if the default is not -P, the program should not be installed as pcre2grep, but as something else, e.g. grep. I could live with that. -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/pcre-dev
