Changing Text
Changing Text: Find and Replace in a Stream: sed.
Updated
- Find and Replace in a Stream: sed (Journeyman): sed changes text as it flows past, replacing words with s/old/new/g and deleting lines with d, and sed -i.bak changes the files themselves while keeping a backup of each one.