Ravi Sir's Cards › AWS
sed -i fails on macOS?
This interview card answers: sed -i fails on macOS? BSD sed needs a suffix. Give an empty one. MacOS form.
Read card text
What this card says
What it is
BSD sed needs a suffix.
Why it matters
Give an empty one.
How / example
macOS form.
sed -i '' 's/a/b/' f.txt