From Rosetta Code
Revision as of 10:59, 21 November 2014 by rosettacode>Hajo (wp / non-interactive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GNU Sed is an implementation of Sed. Other implementations of Sed.


wp:sed (stream editor) is a non-interactive text editor. It is used to filter text, i.e., it takes text input, performs some operation (or set of operations) on it, and outputs the modified text.

sed is typically used for extracting part of a file using pattern matching or substituting multiple occurrences of a string within a file.