Closed modax closed 5 years ago
The -u
option is not supported on Mac OS. http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sed.html#tag_20_116_01
That said, I'm not sure why we also use -r
as that one is also not supported. I think I might have had GNU sed
installed at the time when that was writted.
Otherwise log files are flushed very infrequently which might even result in the data loss.
sed option -u is supported on Linux/FreeBSD. sed on OSX should be unbuffered by default.