A lookup-table counter
Part 2 of Greg's script analysis looks at how he implemented a counter using lookup tables. This complex problem is described step by step from the basics, following through Greg's reasoning until we finally reach the solution.
Do it with sed
A comprehensive and leisurely article. It contains many interesting examples, and a useful command summary.
Proposals for a custom sed
A list of proposals to make sed more versatile without sacrificing its speed and overall philosophy.
SED -- A Non-interactive Text Editor
The definitive introduction, this well-known document used to be distributed with UNIX systems. It examines each of sed's functions in depth and includes useful examples.
sed can do Towers of Hanoi
A document which shows how to make sed solve the classic Towers of Hanoi game.
sed FAQ v15
The official, indispensable sed FAQ.
The essential, official compendium of useful sed one-liners. Organised into sections by usage, such as file spacing, line numbering, selective line removal/deletion and optimisation.
Using lookup tables with s///
Part 1 of Greg Ubben's analysis of a complex sed script he wrote to sort, delimit and number an input file containing tabulated data. Lookup tables are a powerful technique for the serious seder's armoury.
Using sed to create a book index
Eric Pement of Cornerstone magazine shows how he used sed and other utilities to massage an unsorted list of book references into an index.