summaryrefslogtreecommitdiff
path: root/bin/expr
Commit message (Collapse)AuthorAgeFilesLines
* Brought in changes from rev 1.10: conform to POSIX.2 when comparingDavid Greenman1995-08-251-1/+13
| | | | | | | integers. Notes: svn path=/stable/2.1/; revision=10240
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-2/+2
| | | | | | | Reviewed by: phk Notes: svn path=/head/; revision=8855
* You will find enclosed some changes to make gcc -Wall more happy inJoerg Wunsch1995-03-191-2/+3
| | | | | | | | | | | | /usr/src/bin. Note that some patches are still needed in that directory. I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however. Submitted by: charnier@lirmm.fr (Philippe Charnier) Notes: svn path=/head/; revision=7165
* Added $Id$David Greenman1994-09-242-1/+2
| | | | Notes: svn path=/head/; revision=3044
* Explicitly include <sys/types.h> before including <regex.h>. This isBruce Evans1994-09-051-0/+1
| | | | | | | | apparently required by POSIX. It will be required in practice when the bogus inclusion of <sys/types.h> is removed from <stdio.h>. Notes: svn path=/head/; revision=2502
* Fix gross spelling and typographical errors pointed out by Keith Bostic.Jordan K. Hubbard1994-04-241-2/+2
| | | | Notes: svn path=/head/; revision=1411
* Take -lgnuregex back out. Linking with it causes 'make install' to fail.Rich Murphey1994-02-031-2/+0
| | | | Notes: svn path=/head/; revision=1078
* Document the new, less restrictive, behavior of the matching operator.J.T. Conklin1993-10-041-14/+15
| | | | Notes: svn path=/head/; revision=540
* Allow expressions like "expr 'ABC' : '^.*$' to work as is done in otherJ.T. Conklin1993-10-041-9/+3
| | | | | | | expr implementations. Notes: svn path=/head/; revision=539
* Fix grammar to eliminate support for unary minus expressions -- theyJ.T. Conklin1993-09-141-9/+8
| | | | | | | | weren't supported, they aren't standard, and they caused expr to dump core. Notes: svn path=/head/; revision=468
* 1003.2 requires that lexical comparisons be done in locale specific manner,J.T. Conklin1993-08-171-34/+29
| | | | | | | | | | 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. Notes: svn path=/head/; revision=295
* Remove GNU regex.[ch] and use system's regex library. The library is stillJ.T. Conklin1993-08-021-2/+3
| | | | | | | | GNU regex for now, but will be replaced as soon as an alternative is made availiable. Notes: svn path=/head/; revision=230
* install new manual pageJ.T. Conklin1993-07-211-1/+0
| | | | Notes: svn path=/head/; revision=182
* Update to my latest expr (fixes bugs with comparison and matching operators)J.T. Conklin1993-07-212-42/+138
| | | | | | | Add man page I wrote. Notes: svn path=/head/; revision=181
* added POSIX regex to exprAndrew Moore1993-06-192-63/+43
| | | | Notes: svn path=/head/; revision=31
* Initial import, 0.1 + pk 0.2.4-B1Rodney W. Grimes1993-06-122-0/+614
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=4