Commit Graph

160 Commits

Author SHA1 Message Date
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