sed


Running from command line

sed -e 's/TEST/not a test/g' -e 's/YOU/I/g' a.txt > a.out.txt

Replace

s/orig text/new text/g
s is replace (substitue)
g means global (all occurances)