I found this post: Variations of sed between OSX and GNU/Linux
Which provided the solution for using sed -i on Mac OSX such that it does not create a back file on a search and replace command.
E.g., Note the singlequote space singlequote after -i option to specify a zero length extension:
sed -i ' ' 's/foo/|bar/g' test.html
My problem - this DOES create a backup file for me, and it gives the backup file the same name as my input file, "test.html"
I need to run a search/replace on many files, and I don't want backup files.
Here's my actual command:
sed -i ' ' "s|research/projects/vertebrategenome/havana/|science/groups/vertebrate-annotation|g" test2.html
Where I get a backup file called "test2.html"