-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

The Ultimate Linux Shell Scripting Guide
By :

sed
, short for Stream Editor, is an extremely powerful utility, and is another subject on which whole books are written. The goal here is to help you learn the basics for now, and to whet your appetite to learn more later.
If you’ve ever had to error-check or edit large text documents, you’ll appreciate the power of sed
. For simple jobs, a one-line command, known as a sed script, might be all you need. For more complex jobs, such as when you might need to make multiple changes at a time to one or more documents, you can write lengthy program files and execute them with sed
. The only limitation is your own imagination. But, before we can talk about the cool things you can do with sed
, we need to take a brief intermission to talk about sed
portability issues.
If you need to work with non-Linux operating systems, you’ll encounter two different implementations of sed
. Linux operating systems use the...