Stream editor to do bash text manipulation
First one hit
sed 's/hello/world/' input.txt > output.txt
Translate all
echo "hello hello my world world" | sed 's/hello/world/g'
Last updated 4 years ago