# Re: \[PATCH\] p5303: avoid sed GNU-ism

- From: Eric Sunshine \<hidden\>
- Date: 2021-01-29 20:20:39 
- List: git
- Page: https://ratatoskr.run/git/2021/01/7874537
- Thread: https://ratatoskr.run/git/2021/01/7874510/t.md

```text
On Fri, Jan 29, 2021 at 3:07 PM Jeff King [ref] 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.
```
