Commit Graph

3423 Commits

Author SHA1 Message Date
Andrew Moore
d165d4acee use umask 077 for buffer file 1994-03-23 04:36:59 +00:00
Rich Murphey
36ae463bf0 Take -lgnuregex back out. Linking with it causes 'make install' to fail. 1994-02-03 04:23:11 +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
J.T. Conklin
d8c21a3e8a Document the new, less restrictive, behavior of the matching operator. 1993-10-04 22:07:27 +00:00
J.T. Conklin
4a13ab7c12 Allow expressions like "expr 'ABC' : '^.*$' to work as is done in other
expr implementations.
1993-10-04 21:58:53 +00:00
J.T. Conklin
4cf61aba29 Fix grammar to eliminate support for unary minus expressions -- they
weren't supported, they aren't standard, and they caused expr to dump
core.
1993-09-14 22:49:52 +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
J.T. Conklin
55c497bf15 1003.2 requires that lexical comparisons be done in locale specific manner,
so we have to use strcoll() instead of strcmp().
1003.2 requires that a null string be returned if a string does not match
a \( \) subexpression.
Replaced fprintf/exit with calls to err and errx as appropriate.
1993-08-17 16:06:00 +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
22a102fb97 Remove GNU regex.[ch] and use system's regex library. The library is still
GNU regex for now, but will be replaced as soon as an alternative is made
availiable.
1993-08-02 16:57:26 +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
J.T. Conklin
c1b5908979 install new manual page 1993-07-21 23:07:02 +00:00
J.T. Conklin
c9fe00dc0b Update to my latest expr (fixes bugs with comparison and matching operators)
Add man page I wrote.
1993-07-21 22:56:14 +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
4ba5f2985d added POSIX regex to expr 1993-06-19 01:55:46 +00:00
Andrew Moore
30154ac8a8 POSIX ed version 0.6 by Andrew Moore (alm@netcom.com). 1993-06-18 13:00:14 +00:00
Rodney W. Grimes
5b81b6b301 Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:58:17 +00:00