Commit Graph

14 Commits

Author SHA1 Message Date
jtc bff56be25a Fix insignificant memory leak. 1993-11-16 23:08:49 +00:00
jtc d143e6f175 Allow expressions like "expr 'ABC' : '^.*$' to work as is done in other
expr implementations.
1993-10-04 21:57:27 +00:00
jtc 74b68a49cf 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:45:57 +00:00
jtc 3ed5680e46 Use err() routine for error messages.
If string does not match \( \) subexpression, return a null string.
1993-08-17 16:01:23 +00:00
jtc e9c8ee33b0 expr is supposed to do string comparisons using the locale specific
collation sequence, so use strcoll instead of strcmp.
1993-08-16 23:20:22 +00:00
jtc 6a320fc0a3 Now truely POSIX 1003.2 (D11.2) compliant. 1993-07-20 01:10:55 +00:00
jtc aabfaec2f5 Don't coerce strings to int in comparisons. 1993-07-20 00:52:57 +00:00
jtc 476e1b5964 integer arguments were not coerced to strings for the `:' operator.
bad things: core dumps, etc. will happen if integer values make it
up the parse tree.
1993-07-20 00:29:41 +00:00
jtc 68028dc2de Updated to POSIX regular expression routines.
(Previous checkin was aborted by stray ^C)
1993-06-14 19:59:07 +00:00
cgd ac2edf58ea update for latest version of patches from jtconklin@kaleida.com 1993-06-05 22:25:44 +00:00
cgd a5668e87e6 added J.T. Conklin's changes to get parens working fine, etc. 1993-03-23 20:19:35 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00