Misplaced Pages

Sed

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

This is an old revision of this page, as edited by Conversion script (talk | contribs) at 15:43, 25 February 2002 (Automated conversion). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 15:43, 25 February 2002 by Conversion script (talk | contribs) (Automated conversion)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Sed is a UNIX text editor and the name of its language. SED stands for Stream EDitor, but is also on the Latin word for but. Thus, in a typical unix pipe command, you might say something like

generate_data | sed -e 's/x/y/'

That is, generate the data, but make these small changes.

Sed is one of the very early unix commands that permitted command line processing of data files. Cousin to the later AWK, sed allowed powerful and interesting data processing to be done by shell scripts. Sed was probably the earliest Unix tool that really encouraged regular expressions to be used ubiquitously.

Sed and AWK are often cited as the progenitors and inspiration for Perl.

Sed Add topic