freebsd-dev/bin/ed
2023-04-18 17:14:23 -07:00
..
test
buf.c ed(1): drop redundant parenthesis. 2016-12-14 21:14:43 +00:00
ed.1 ed(1): Add two references in the SEE ALSO section 2021-04-09 09:43:49 +02:00
ed.h Drop ed(1) "crypto" 2018-11-04 17:56:16 +00:00
glbl.c ed(1): Prevent possible overflows during allocation. 2016-12-12 03:46:40 +00:00
io.c Drop ed(1) "crypto" 2018-11-04 17:56:16 +00:00
main.c Drop ed(1) "crypto" 2018-11-04 17:56:16 +00:00
Makefile Drop ed(1) "crypto" 2018-11-04 17:56:16 +00:00
Makefile.depend Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
POSIX Drop ed(1) "crypto" 2018-11-04 17:56:16 +00:00
re.c
README Drop ed(1) "crypto" 2018-11-04 17:56:16 +00:00
sub.c
undo.c

$FreeBSD$

ed is an 8-bit-clean, POSIX-compliant line editor.  It should work with
any regular expression package that conforms to the POSIX interface
standard, such as GNU regex(3).

If reliable signals are supported (e.g., POSIX sigaction(2)), it should
compile with little trouble.  Otherwise, the macros SPL1() and SPL0()
should be redefined to disable interrupts.

The following compiler directives are recognized:
NO_REALLOC_NULL	- if realloc(3) does not accept a NULL pointer
BACKWARDS	- for backwards compatibility
NEED_INSQUE	- if insque(3) is missing

The file `POSIX' describes extensions to and deviations from the POSIX
standard.

The ./test directory contains regression tests for ed. The README
file in that directory explains how to run these.

For a description of the ed algorithm, see Kernighan and Plauger's book
"Software Tools in Pascal," Addison-Wesley, 1981.