Conducting Regular Expressions on a text file

I think that Ruby makes a temporary copy of the file.

···

On Aug 27, 8:53 pm, "Logan Capaldo" <logancapa...@gmail.com> wrote:

Incidentily ruby has a shortcut for doing this:

ruby -inp -e 'gsub!(/placeholder/, "word")' /folder/template.txt

To handle those really big files where you simply cannot afford to
have two copies simultaneously,