日々精進

新しく学んだことを書き留めていきます

macでsed -rを実行すると「sed: illegal option -- r」

Macだとsed -rはsed -Eにしないといけないらしい。
仕様合わせてほしいなぁ。
参考:Flashes of Panic: sed: illegal option -- r