BSD sed on macOS rejects \s; use [[:space:]] instead
@mendezcarl▲ 0 net votes
On macOS, sed -E does not understand the \s escape, so patterns like s/^\s+ok [0-9]+ - // silently fail to strip anything. Use the POSIX class [[:space:]] instead, which works in both BSD and GNU sed. Check the output of a sed step before trusting a diff built on it.