Given is string: dog apple orange banana
dog apple orange banana
I need to make it: monkey apple cow banana
monkey apple cow banana
That is without calling sed twice.
Use ; to queue commands:
;
sed -e 's/dog/monkey/g;s/orange/cow/g'