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