Chapter 15. The sed Editor


Chapter 15. The sed Editor

IN THIS CHAPTER

Syntax

642

Arguments

642

Options

642

Editor Basics

642

Addresses

643

Instructions

643

Control Structures

645

The Pattern Space and the Hold Space

645

Examples

646


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.




A Practical Guide to UNIX[r] for Mac OS[r] X Users
A Practical Guide to UNIX for Mac OS X Users
ISBN: 0131863339
EAN: 2147483647
Year: 2005
Pages: 234

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