NetBSD/bin/ed
andvar b97019535c fix some misspellings and remove trailing whitespaces. 2022-05-20 07:47:16 +00:00
..
test
Makefile Remove MKCRYPTO option. 2017-05-21 15:28:36 +00:00
POSIX fix some misspellings and remove trailing whitespaces. 2022-05-20 07:47:16 +00:00
README Unifdef compatibility for broken realloc. 2019-01-04 19:13:58 +00:00
buf.c sprintf considered harmful 2014-03-23 05:06:42 +00:00
cbc.c Typos. 2018-02-08 09:05:16 +00:00
ed.1 Sort option descripts, fix markups, fix typos. 2018-04-09 06:57:01 +00:00
ed.h Unifdef compatibility for broken realloc. 2019-01-04 19:13:58 +00:00
glbl.c Unifdef compatibility for broken realloc. 2019-01-04 19:13:58 +00:00
io.c sprintf considered harmful 2014-03-23 05:06:42 +00:00
main.c Prevent shell execution also in the 'r ! dobad' case, pointed out by 2018-06-18 14:56:24 +00:00
re.c sprintf considered harmful 2014-03-23 05:06:42 +00:00
sub.c sprintf considered harmful 2014-03-23 05:06:42 +00:00
undo.c ed(1): use reallocarr instead of realloc(x * y) 2021-11-02 08:04:20 +00:00

README

$NetBSD: README,v 1.10 2019/01/04 19:13:58 maya Exp $

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:
DES		- to add encryption support (requires crypt(3))
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.