15 The sed Editor

Objectives

After reading this chapter you should be able to:

Images Use sed to edit a file, replacing words in the file

Images Write a sed program that inserts or changes lines in a file

Images Change multiple character strings in a file using sed

Use sed as a filter to modify a file

The sed (stream editor) utility is a batch ...

Get A Practical Guide to Linux Commands, Editors, and Shell Programming, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.