sed replace /* char code example
Example 1: replace using sed
#on my mac
sed -i -e 's/old-text/new-text/g' text.txt
Example 2: replace text with sed
sed -i 's/old-text/new-text/g' input.txt
#on my mac
sed -i -e 's/old-text/new-text/g' text.txt
sed -i 's/old-text/new-text/g' input.txt