Name Date Size #Lines LOC

..06-May-2025-

test/H06-May-2025-897688

MakefileH A D06-May-2025176 117

Makefile.dependH A D06-May-2025246 169

POSIXH A D06-May-20253.7 KiB9277

READMEH A D06-May-2025873 2316

buf.cH A D06-May-20256.5 KiB283196

ed.1H A D06-May-202521.6 KiB1,000999

ed.hH A D06-May-20257.7 KiB273201

glbl.cH A D06-May-20255.9 KiB217161

io.cH A D06-May-20258.3 KiB344279

main.cH A D06-May-202531.1 KiB1,4051,222

re.cH A D06-May-20253.5 KiB12882

sub.cH A D06-May-20256.6 KiB253198

undo.cH A D06-May-20254.1 KiB149101

README

1
2ed is an 8-bit-clean, POSIX-compliant line editor.  It should work with
3any regular expression package that conforms to the POSIX interface
4standard, such as GNU regex(3).
5
6If reliable signals are supported (e.g., POSIX sigaction(2)), it should
7compile with little trouble.  Otherwise, the macros SPL1() and SPL0()
8should be redefined to disable interrupts.
9
10The following compiler directives are recognized:
11NO_REALLOC_NULL	- if realloc(3) does not accept a NULL pointer
12BACKWARDS	- for backwards compatibility
13NEED_INSQUE	- if insque(3) is missing
14
15The file `POSIX' describes extensions to and deviations from the POSIX
16standard.
17
18The ./test directory contains regression tests for ed. The README
19file in that directory explains how to run these.
20
21For a description of the ed algorithm, see Kernighan and Plauger's book
22"Software Tools in Pascal," Addison-Wesley, 1981.
23