34. The sed Stream Editor
Contents:
34.1 Two Things You Must Know About sedIf you are already familiar with global edits in other editors like vi or ex , you know most of what you need to know to begin to use sed . There are two things, though, that make it very different:
If all you want to do is make simple substitutions, you're ready to go. If you want to do more than that, sed has some unique and powerful commands. This chapter makes no attempt to cover everything there is to know about sed . Article 34.24 contains a complete quick reference to sed commands, with many examples, because we use so many sed scripts elsewhere in this book, and we need a "dictionary" so beginners can interpret them. But for the most part, this chapter contains advice on working with sed and extended explanations of how to use some of its more difficult commands. - |
|