< Zurück | Inhalt | Weiter >

2.3.1 Editing Your Pipes (sed, the Stream EDitor)

One important kind of editor available on Linux is the stream editor, or sed. It allows you to perform editing on the data that comes in on standard in and writes its result to standard out. Similar to the syntax from ex mode in vi (and based on the simple ed editor), it can be very useful for making changes to large numbers of files in one go.

You can learn much more about sed from its manpage or from the book

UNIX AWK and SED Programmer’s Interactive Workbook by Peter Patsis.