Making Global Changes with sedAnother handy command you can use is sed, which lets you make multiple changes to files, without ever opening an editor. For example, as a new Webmaster, you might use sed to change all occurrences of the previous Webmaster's email address to your own. As we'll show in this section, you can use sed to make global changes within documents. Code Listing 6.10. You can use sed to make changes throughout files, such as the address change here.
To make global changes with sed:
Tips
|