Chapter 13. The sed Editor

 < Day Day Up > 

Chapter 13. The sed Editor

IN THIS CHAPTER

Syntax 564

Arguments 564

Options 564

Editor Basics 565

Addresses 565

Instructions 566

Control Structures 567

The Pattern Space and the Hold Space 568

Examples 568

The sed (stream editor) utility is a batch (noninteractive) editor. It transforms an input stream that can come from a file or standard input. It is frequently used as a filter in a pipe. Because it makes only one pass through its input, sed is more efficient than an interactive editor such as ed. This chapter describes GNU sed.

     < Day Day Up > 


    A Practical Guide to LinuxR Commands, Editors, and Shell Programming
    A Practical Guide to LinuxR Commands, Editors, and Shell Programming
    ISBN: 131478230
    EAN: N/A
    Year: 2005
    Pages: 213

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net