aboutsummaryrefslogtreecommitdiff
path: root/bin/expr
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagrelease/2.2.5_cvscvs2svn1997-10-213-3/+3
| | | | | | | 'RELENG_2_2_5_RELEASE'. This commit was manufactured to restore the state of the 2.2.5-RELEASE image. Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
* Backout yacc changesPoul-Henning Kamp1996-06-021-2/+6
| | | | Notes: svn path=/head/; revision=16069
* Use default yacc rule.Poul-Henning Kamp1996-05-301-7/+3
| | | | Notes: svn path=/head/; revision=16012
* ``mv'' -> ``mv -f''Wolfram Schneider1996-05-071-2/+2
| | | | | | | | ``rm'' -> ``rm -f'' so mv/rm may not ask for confirmation if you are not root Notes: svn path=/head/; revision=15679
* Fix some spelling errors.Mike Pritchard1996-01-291-5/+5
| | | | Notes: svn path=/head/; revision=13719
* Fix my own brokeness for the colon operator, when one of the argumentsJoerg Wunsch1995-11-181-33/+31
| | | | | | | | was a valid integer. The actual decision between integer and string is now context-dependant on the operator being used. Notes: svn path=/head/; revision=12378
* expr(1) didn't comply to Posix.2 and its own man page: anyJoerg Wunsch1995-08-041-1/+13
| | | | | | | | | | | comparisions have been made as string comparisions, even in cases where both operands clearly qualified as integers. The fix is to make the parser properly analyzing whether an operand is a valid integer or not. Notes: svn path=/head/; revision=9909
* 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-66/+46
| | | | 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