kuuki2019/03/18 04:05If possible, move the comment to the right place. Make your answer the best answer.
kuuki2019/03/18 02:51それはgnu版です。BSDとgnuでsedは仕様が異なります。[sed - BSD / macOS Sed対GNU Sed対POSIX Sed仕様 | sed Tutorial](https://riptutorial.com/ja/sed/topic/9436/bsd---macos-sed%E5%AF%BEgnu-sed%E5%AF%BEposix-sed%E4%BB%95%E6%A7%98)