Commit Graph

479 Commits

Author SHA1 Message Date
rgrimes
e3cfc8ce61 BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00
rgrimes
fd10fe931b This commit was generated by cvs2svn to compensate for changes in r1556,
which included commits to RCS files with non-trunk default branches.
1994-05-26 06:18:55 +00:00
jkh
3136eddb2e Fix gross spelling and typographical errors pointed out by Keith Bostic. 1994-04-24 01:22:07 +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
rich
87de824147 Take -lgnuregex back out. Linking with it causes 'make install' to fail. 1994-02-03 04:23:11 +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
jtc
b3d35c1152 Document the new, less restrictive, behavior of the matching operator. 1993-10-04 22:07:27 +00:00
jtc
e49952d2b7 Allow expressions like "expr 'ABC' : '^.*$' to work as is done in other
expr implementations.
1993-10-04 21:58:53 +00:00
jtc
4b9de3ffe1 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
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
jtc
e8b47fda70 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
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
d0b0781995 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
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
conklin
063d55cdef install new manual page 1993-07-21 23:07:02 +00:00
conklin
034cd12e8f 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
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
540729fc85 added POSIX regex to expr 1993-06-19 01:55:46 +00:00
alm
8eb89f7025 POSIX ed version 0.6 by Andrew Moore (alm@netcom.com). 1993-06-18 13:00:14 +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
f608495770 POSIX ed version 0.6 by Andrew Moore (alm@netcom.com). 1993-06-18 13:00:14 +00:00
rgrimes
25062ba061 Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:58:17 +00:00