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\"
You can use this, on linux or unix.
echo "foobar" | perl -pe "s/o+//g"