Closed delphinus closed 4 years ago
We cannot use \0 for regexp in macOS's sed (It means the 0 string itself). This patch uses \1 for the whole match instead of \0, and \2 for pids.
\0
0
\1
\2
Thanks! I don't have macOS env so your fix is super helpful.
We cannot use
\0
for regexp in macOS's sed (It means the0
string itself). This patch uses\1
for the whole match instead of\0
, and\2
for pids.