Y
Hacker News
new
|
ask
|
show
|
jobs
by
flaxton
2167 days ago
Didn't work on macOS (multiple sed errors - switches differ from Linux) but prompted me to write a help function ;-)
2 comments
gfosco
2167 days ago
I have a project that makes heavy use of sed.. On macOS, I `brew install gnu-sed` and use `gsed` instead, so it works like other platforms.
link
flaxton
2167 days ago
Nice! I will check that out.
link
ivansavz
2167 days ago
here is a gist that works on macOS (using `awk` instead of sed)
https://gist.github.com/ivanistheone/0454191800c9caad77a52e0...
link