alm
26c84d7dc7
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
914df1fcc6
Document the new, less restrictive, behavior of the matching operator.
1993-10-04 22:07:27 +00:00
jtc
c2f64d013c
Allow expressions like "expr 'ABC' : '^.*$' to work as is done in other
...
expr implementations.
1993-10-04 21:58:53 +00:00
jtc
d3452ecc7d
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
fa9c18f14c
Renamed some files that were giving SUP trouble.
1993-08-27 22:15:16 +00:00
alm
eb6abffe88
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
46d985857a
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
c05c784bea
Nullify pattern after failed regcomp
1993-08-16 09:30:18 +00:00
alm
df01e6297c
added (unsiged) cast to avoid int overflow
...
removed REGEX directive
1993-08-09 21:34:11 +00:00
conklin
00a87780f8
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
11eb94f52d
Remove -I${.CURDIR}, as we now use system's regex.h
1993-08-02 16:43:54 +00:00
conklin
c183859731
Use ./foo.sh, so scripts work if . is not in $PATH.
1993-08-02 16:42:08 +00:00
conklin
9db585a2cc
Use system's posix compliant regex library (GNU regex for now).
1993-08-02 16:40:59 +00:00
conklin
8ba08f2eb5
install new manual page
1993-07-21 23:07:02 +00:00
conklin
4d198a2a3c
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
170ec22c9a
Libcrypt upgrade
1993-07-20 22:57:03 +00:00
alm
ffd56febcd
Consolidate mark code - no functional changes or fixes.
1993-07-02 06:16:28 +00:00
alm
3ee56e1af8
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
46e423f4fa
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
2405a127fa
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