[PATCH] solaris: solaris grep doesn't have -A; reimplement with awk
raf at durin42.com
Mon Jun 5 22:57:53 EDT 2017
> On Jun 5, 2017, at 7:36 PM, Danek Duvall <danek.duvall at oracle.com> wrote:
> Pierre-Yves David wrote:
>> On 06/03/2017 01:20 AM, danek.duvall at oracle.com wrote:
>>> # HG changeset patch
>>> # User Danek Duvall <danek.duvall at oracle.com>
>>> # Date 1496445527 25200
>>> # Fri Jun 02 16:18:47 2017 -0700
>>> # Node ID d41ec8a079648101eae94a25e05c6d7a7b26b653
>>> # Parent e6ff007e107e434b35eb881711f459c7a75c91b2
>>> solaris: solaris grep doesn't have -A; reimplement with awk
>> We should probably get a check-code rules for this.
> Given that there's no consistent replacement for it, I'm a bit uncertain.
> Adding a flag to a command makes sense in this case, but maybe not always
> in the future.
> I'm happy to add the check, though, if folks think it's the right path
> forward. I assume that -B and -C should come along for the ride?
Yep, (I’m assuming since you asked solaris grep is also sad about those flags.)
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
More information about the Mercurial-devel