|
|
|
|
|
by fbcpck
1821 days ago
|
|
Somewhat relevant: the default sed that ships on all macos is freebsd sed. The basic featureset and syntax is about the same, but the more advanced parameters and features have different syntax (or not implemented) when compared to gnu sed. This caused me quite a headache in the past figuring out why certain scripts works (or breaks!) on local machine but not in others; I started taking closer look on all tool versions since then. (The solution is to just use gnu sed with https://formulae.brew.sh/formula/gnu-sed) |
|
Perl is another great option for portability.