Name Date Size #Lines LOC

..--

test/H--896688

MakefileH A D15-Jul-2024175 107

Makefile.dependH A D16-Aug-2023246 169

POSIXH A D16-Aug-20233.7 KiB9277

READMEH A D16-Aug-2023873 2316

buf.cH A D16-Aug-20236.5 KiB283196

ed.1H A D03-Jan-202421.6 KiB1,000999

ed.hH A D23-Nov-20237.6 KiB271201

glbl.cH A D24-Nov-20235.9 KiB216160

io.cH A D16-Aug-20238.3 KiB344279

main.cH A D11-Jan-202430.9 KiB1,3961,214

re.cH A D16-Aug-20233.5 KiB12882

sub.cH A D16-Aug-20236.6 KiB253198

undo.cH A D16-Aug-20234.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