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