NetBSD/bin/ed
mrg f8570f8a97 fix simple mis-matched function prototype and definitions.
most of these are like, eg

   void foo(int[2]);

with either of these

   void foo(int*) { ... }
   void foo(int[]) { ... }

in some cases (such as stat or utimes* calls found in our header files),
we now match standard definition from opengroup.

found by GCC 12.
2023-08-01 07:04:14 +00:00
..
test
Makefile
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
cbc.c fix simple mis-matched function prototype and definitions. 2023-08-01 07:04:14 +00:00
ed.1
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
main.c
re.c
sub.c
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.