EdText

352 · Ned Batchelder · Feb. 9, 2026, 1:03 p.m.
Summary
The blog post introduces 'edtext', a new project that provides text selection and manipulation functions inspired by the classic 'ed' text editor. The author shares their experience diving into this project after struggling with a complex ad-hoc function. 'edtext' allows more efficient selection of lines of text using concise address mechanisms similar to 'vim' and 'sed'. It includes a handy example of selecting specific sections of a file and applying regex replacements, with an emphasis on usability and simplicity. The author finds satisfaction in creating a small yet functional tool to enhance their workflow.