I\'m trying to find and replace one or more occurrences of a character using sed on a mac, sed from the BSD General Commands.
I try:
echo \"foobar\"
echo "foobar" | sed -e "s/o\\+//g"
worked for me on Mac OS X 10.6.
I remembered that I replaced my BSD version of sed with GNU sed 4.2, so this may or may not work for you.