Commit Graph

22 Commits

Author SHA1 Message Date
Rodney W. Grimes
2162b2d226 Remove trailing whitespace.
Reviewed by:	phk
1995-05-30 00:07:29 +00:00
Joerg Wunsch
0fd510b71a You will find enclosed some changes to make gcc -Wall more happy in
/usr/src/bin. Note that some patches are still needed in that directory.

I (Joerg) finished most of Philippe's cleanup.  /bin/sh will still
need *allot* of work, however.

Submitted by:	charnier@lirmm.fr (Philippe Charnier)
1995-03-19 13:29:28 +00:00
Andrew Moore
c723083073 fixed `s' to set dot to last line affected, not the last line in
a substitution range.
1995-01-14 11:47:16 +00:00
Jordan K. Hubbard
ffdd6a7267 src/bin/ed will never build DES encumbered ed again. That is the job
for secure/bin/ed ...
1994-12-18 15:15:10 +00:00
David Greenman
efaf4c8649 Nuked #ifdef __386BSD__ since this is not appropriate and no longer defined
in our 2.6.1 gcc port.
1994-11-03 21:46:55 +00:00
Poul-Henning Kamp
e615020eae Don't check existence of -lcrypt to decide if DES is employed,
instead check that "NOCRYPT" isn't defined.
1994-10-29 10:13:34 +00:00
David Greenman
89730b290a Added $Id$ 1994-09-24 02:59:15 +00:00
Poul-Henning Kamp
2787321c9f Submitted by: phk
Got rid of a couple of binary files by uuencoding.  49 more to go.
BTW: ed(1) seems to have an exit(2) problem, 5 tests fail.
1994-07-23 18:14:06 +00:00
Jordan K. Hubbard
60fd953f54 Fix gross spelling and typographical errors pointed out by Keith Bostic. 1994-04-24 01:06:32 +00:00
Andrew Moore
d165d4acee use umask 077 for buffer file 1994-03-23 04:36:59 +00:00
Andrew Moore
95e6217e73 Fixed range address bug: 1,2, == 2,2 not 2,.
Overhauled the name space,  reworked some modules and removed the
obsolescent Addison-Wesley copyright.
1994-02-01 00:36:28 +00:00
Andrew Moore
d20b621b11 Renamed some files that were giving SUP trouble. 1993-08-27 22:15:16 +00:00
Andrew Moore
0bca9fd9dc Only a single slash (/) is now necessary to repeat a search as per Theo's
request.  So the command:
/pattern/;/
finds the second line containing "pattern" after the current line.
Caveat: The commands `st' and `sr'  are now both legal and have very
different meanings.  This is because ed(1) extends POSIX to include the
old Berkeley syntax s[rgp]*.
(So should two slashes still be required in the case of the substitute
command, as SunOS ed does?)
1993-08-27 22:14:24 +00:00
Andrew Moore
9c5df0ae70 Nullify pattern after failed regcomp 1993-08-16 09:30:18 +00:00
Andrew Moore
5a5100e3af added (unsiged) cast to avoid int overflow
removed REGEX directive
1993-08-09 21:34:11 +00:00
J.T. Conklin
b5a50652cc Remove -I${.CURDIR}, as we now use system's regex.h 1993-08-02 16:43:54 +00:00
J.T. Conklin
fa5e9643ff Use ./foo.sh, so scripts work if . is not in $PATH. 1993-08-02 16:42:08 +00:00
J.T. Conklin
7a77680068 Use system's posix compliant regex library (GNU regex for now). 1993-08-02 16:40:59 +00:00
Nate Williams
7b0d50fdfe Libcrypt upgrade 1993-07-20 22:57:03 +00:00
Andrew Moore
95c745afb2 Consolidate mark code - no functional changes or fixes. 1993-07-02 06:16:28 +00:00
Andrew Moore
10ca1c6c92 fixed undo within a global command (would corrupt the buffer)
changed move within a global to behave as in SunOS
added a couple error messages
1993-06-26 06:47:21 +00:00
Andrew Moore
30154ac8a8 POSIX ed version 0.6 by Andrew Moore (alm@netcom.com). 1993-06-18 13:00:14 +00:00