freebsd-src/bin/ed
Warner Losh 0b8224d1cc Remove copyright strings ifdef'd out
We've ifdef'd out the copyright strings for some time now. Go ahead and
remove the ifdefs. Plus whatever other detritis was left over from other
recent removals. These copyright strings are present in the comments and
are largely from CSRG's attempt at adding their copyright to every
binary file (which modern interpretations of the license doesn't
require).

Sponsored by:		Netflix
2023-11-26 22:23:58 -07:00
..
test Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
buf.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
ed.1 Remove $FreeBSD$: one-line nroff pattern 2023-08-16 11:55:15 -06:00
ed.h bin: Remove ancient SCCS tags. 2023-11-26 22:23:28 -07:00
glbl.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
io.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
main.c Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
POSIX Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
re.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
README Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:20 -06:00
sub.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00
undo.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00

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.