July 2005
Intermediate to advanced
1008 pages
22h 14m
English
sed EditorIN THIS CHAPTER
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.
A sed command line has the following syntax:
sed [–n] program [file-list] sed [–n] –f program-file [file-list]
The sed utility takes its input from files you specify on the command line or from standard input. Unless you direct ...
Read now
Unlock full access