Closed asaarilahti closed 1 year ago
As far as I remember, the BSD version of sed
used by OS X does not support the -i
parameter. So what I remember is, that you typically call sed
with -e
on the file and redirect the input to a temporary file and the use mv
to overwrite the old one. This works in both worlds.
As far as I remember, the BSD version of
sed
used by OS X does not support the-i
parameter.
-i
is supported in Mac and Ubuntu, so that's probably enough. How about this? https://github.com/zalando/intellij-swagger/pull/353/commits/bf6f004e7160f547cad5999c5d4cbd30e285afbc
Replace hardcoded value with an argument.