1this line contains the word 'foo'2and aftr this line there are35 more lines4which can be printed5by an ed range67however, this line also has the word 'foo'8but no 5 lines after it, hence causing an error when selected as a range start.
An extensible POSIX-compatible implementation of the ed(1) text editor
git clone https://git.8pit.net/edward.git
1this line contains the word 'foo'2and aftr this line there are35 more lines4which can be printed5by an ed range67however, this line also has the word 'foo'8but no 5 lines after it, hence causing an error when selected as a range start.