xref: /src/bin/ed/
Name Date Size #Lines LOC

..--

test/H--896688

tests/H--2,1201,893

MakefileH A D17-Feb-2026214 139

Makefile.dependH A D16-Aug-2023246 169

POSIXH A D16-Aug-20233.7 KiB9277

READMEH A D16-Aug-2023873 2316

buf.cH A D09-Feb-20266.5 KiB285196

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

ed.hH A D17-Feb-20267.7 KiB275203

glbl.cH A D09-Feb-20265.9 KiB218160

io.cH A D17-Feb-20269.1 KiB380311

main.cH A D09-Feb-202630.9 KiB1,3981,214

re.cH A D09-Feb-20263.6 KiB13082

sub.cH A D09-Feb-20266.6 KiB255198

undo.cH A D09-Feb-20264.2 KiB151101

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