Index of /archives/NetBSD/NetBSD-release-9/src/bin/ed
Name Last modified Size Description
Parent Directory -
CVS/ 2025-01-15 12:04 -
Makefile 2017-05-22 00:28 308
POSIX 1999-11-19 04:16 4.3K
README 2019-01-05 04:13 917
buf.c 2014-03-23 14:06 7.0K
cbc.c 2018-02-08 18:05 12K
ed.1 2018-04-09 15:57 24K
ed.h 2019-01-05 04:13 7.6K
glbl.c 2019-01-05 04:13 5.8K
io.c 2014-03-23 14:06 8.6K
main.c 2018-06-18 23:56 32K
re.c 2014-03-23 14:06 3.9K
sub.c 2014-03-23 14:06 6.8K
test/ 2024-02-15 03:44 -
undo.c 2019-01-05 04:13 4.1K
$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.