Commit Graph

48 Commits

Author SHA1 Message Date
charnier
6b0f2b0470 Convert to mdoc. 1998-05-13 07:41:13 +00:00
bde
68b354f908 Fixed existence test for secure sources (don't test for secure objects).
Fixed some formatting.
1998-03-06 16:05:18 +00:00
helbig
6475ebfa0d Ensure stdout is line buffered.
Change "pat" -> "re" in man page.
1997-12-31 12:25:35 +00:00
eivind
c4ec46a145 Remove simultaneous include of <sys/param.h> and <sys/types.h>.
Reorder includes to be alphabetical some places since I already was in
here.
1997-12-10 22:18:54 +00:00
eivind
75a047687a Un-clobber mktemp->mkstemp patch. 1997-10-09 11:05:16 +00:00
eivind
ee25b29d4c make signal handlers errno safe
Obtained from:	OpenBSD (file rev 1.11) - Theo de Raadt <deraadt@openbsd.org>
1997-10-08 14:47:56 +00:00
eivind
4744f1f336 mktemp -> mkstemp
Obtained from: OpenBSD (file rev 1.4 by Theo de Raadt <deraadt@openbsd.org>)
1997-10-08 13:46:39 +00:00
jmg
660dbd5861 fix misspelling
Submitted-by: Josh Gilliam

Closes PR:4427
1997-08-30 11:09:26 +00:00
steve
01577a711e sccsid -> rcsid and fix some minor nits. 1997-08-07 21:33:47 +00:00
imp
cdc0e920d8 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-28 15:24:41 +00:00
imp
ad42e7a13f Use mkstemp rather than mktemp to prevent races.
Obtained from: OpenBSD
1997-03-24 05:45:29 +00:00
peter
34fd560164 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
steve
d20174939c -Wall cleaning. 1996-12-14 06:08:03 +00:00
wosch
0afb8360fb delete doubled words, e.g.: "the the" -> "the" 1996-10-05 22:27:30 +00:00
wosch
e5b4420bce add forgotten $Id$ 1996-09-22 21:56:57 +00:00
wosch
d4a1c1cff8 [HISTORY] command appeared in Version 1 AT&T UNIX
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
1996-08-29 18:06:19 +00:00
ache
9257d220bd Localize it
8bit cleanup
1996-08-11 16:48:11 +00:00
jkh
e693c16dd8 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
tg
83c817dbd7 Output line count to stdout. Complies to POSIX.2.
Reviewed by:	joerg
1996-05-23 06:36:34 +00:00
peter
6470cdf2a0 This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
ache
33460f5501 Wrong library was picked by ed 1995-10-22 20:14:13 +00:00
markm
6bdec36c43 Correctly build the secure ed(1) only if secure/ exists.
Pointed out by:	bde
1995-10-03 15:44:50 +00:00
markm
05683329e7 Use the same make technique as passwd and xntpd for the secure ed(1). This
will allow the secure/bin/ed directory to be cleaned out and the bin/Makefile
to be cleaned up.
1995-10-01 14:17:29 +00:00
rgrimes
e6999472c1 Remove trailing whitespace.
Reviewed by:	phk
1995-05-30 00:07:29 +00:00
joerg
6330608063 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
alm
ef8ed7f1a6 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
jkh
6d51952f16 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
dg
897e1e9d14 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
phk
9f2c827b54 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
dg
00eb2a4dc0 Added $Id$ 1994-09-24 02:59:15 +00:00
phk
2583ca0bad 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
jkh
6c04efbb81 Fix gross spelling and typographical errors pointed out by Keith Bostic. 1994-04-24 01:06:32 +00:00
alm
41365ddbb4 use umask 077 for buffer file 1994-03-23 04:36:59 +00:00
alm
8f826dd116 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
alm
e07ef14414 Renamed some files that were giving SUP trouble. 1993-08-27 22:15:16 +00:00
alm
f3e9e39230 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
alm
cf9640baad Nullify pattern after failed regcomp 1993-08-16 09:30:18 +00:00
alm
17db6ec525 added (unsiged) cast to avoid int overflow
removed REGEX directive
1993-08-09 21:34:11 +00:00
conklin
6457650d8e Remove -I${.CURDIR}, as we now use system's regex.h 1993-08-02 16:43:54 +00:00
conklin
ba1be23197 Use ./foo.sh, so scripts work if . is not in $PATH. 1993-08-02 16:42:08 +00:00
conklin
0de21dda44 Use system's posix compliant regex library (GNU regex for now). 1993-08-02 16:40:59 +00:00
nate
a3fa63faa7 Libcrypt upgrade 1993-07-20 22:57:03 +00:00
alm
aef1ca7871 Consolidate mark code - no functional changes or fixes. 1993-07-02 06:16:28 +00:00
alm
5288f1defa 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
alm
4421d4b31b This commit was generated by cvs2svn to compensate for changes in r16,
which included commits to RCS files with non-trunk default branches.
1993-06-18 13:00:14 +00:00
alm
8eb89f7025 POSIX ed version 0.6 by Andrew Moore (alm@netcom.com). 1993-06-18 13:00:14 +00:00
alm
f608495770 POSIX ed version 0.6 by Andrew Moore (alm@netcom.com). 1993-06-18 13:00:14 +00:00