Closed avsej closed 13 years ago
Hi, guys
sed utility uses different syntax for in-place switch for BSD(macos) and GNU(linux) versions.
Linux: there no space after -i http://linux.die.net/man/1/sed Macos: there should be space after -i and they doesn't support long version http://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/sed.1.html
So they are mutually exclusive.
This patch provides portable invocation using intermediate file.
Hi, guys
sed utility uses different syntax for in-place switch for BSD(macos) and GNU(linux) versions.
Linux: there no space after -i http://linux.die.net/man/1/sed Macos: there should be space after -i and they doesn't support long version http://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/sed.1.html
So they are mutually exclusive.
This patch provides portable invocation using intermediate file.