Join the DZone community and get the full member experience.Join For Free
Place all occurrences of "old value" with "new value" in all txt files.
ruby -p -i -e '$_.gsub!("old value", "new value")' *.txt
Opinions expressed by DZone contributors are their own.