in reply to substitution

perl -i -pe 's/David/Josh/' stuff.txt