"sed" ("stream editor") is a Unix utility that parses and transforms text files.

"sed" (stream editor) is a Unix utility that parses and transforms text files.

It implements a fairly basic programming language to perform the transformations, but it is in fact Turing-complete.

Resources

sed on Wikipedia