DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Using sed to make indexes for books (long)

Quality: 7/10 Relevance: 8/10

Summary

A historical guide detailing how to build a book index using sed, including sorting with GNU sort for proper numeric and case-insensitive order, a two-step approach to concatenate lines, and robust fixes for input errors. It discusses the limitations of the initial sed script and presents a v1.2 solution with portability notes and input-validation guidance.

🚀 Service construit par Johan Denoyer