Re: [PATCH] p5303: avoid sed GNU-ism
- From
Jeff King <peff@peff.net>
- Date
- Jan 29, 2021, 20:27 UTC
- Message-ID
- <YBRvy3s5gnsrIBEB@coredump.intra.peff.net>
- In-Reply-To
- <CAPig+cTc3RGEu4anOmnYBBQxXgB0UL8Z_vJfnV=FoNTOFYEpTQ@mail.gmail.com>
On Fri, Jan 29, 2021 at 03:19:31PM -0500, Eric Sunshine wrote:
Show 12 quoted lines
> On Fri, Jan 29, 2021 at 3:07 PM Jeff King <peff@peff.net> wrote: > > Subject: [PATCH] p5303: avoid sed GNU-ism > > > > Using "1~5" isn't portable. Nobody seems to have noticed, since perhaps > > people don't tend to run the perf suite on more exotic platforms. Still, > > it's better to set a good example. > > It's not just exotic platforms on which this can be a problem. BSD > lineage `sed`, such as stock `sed` on macOS, doesn't understand this > notation. > > Thanks for eliminating this particular GNU-ism.
OK, then I'm doubly surprised nobody has noticed and complained about this. :)
-Peff