aboutsummaryrefslogtreecommitdiff
path: root/bin/expr/expr.y
Commit message (Collapse)AuthorAgeFilesLines
* MFC: WARNS=2David E. O'Brien2001-08-011-27/+42
| | | | Notes: svn path=/stable/4/; revision=80801
* MFC: [rev 1.16] Add overflow tests.Paul Saab2000-08-071-3/+76
| | | | Notes: svn path=/stable/4/; revision=64329
* MFC: support 64bit integer operandsStefan Eßer2000-07-221-30/+29
| | | | Notes: svn path=/stable/4/; revision=63756
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50471
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22988
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* 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
* 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-241-1/+1
| | | | 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
* 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
* Update to my latest expr (fixes bugs with comparison and matching operators)J.T. Conklin1993-07-211-42/+7
| | | | | | | Add man page I wrote. Notes: svn path=/head/; revision=181
* added POSIX regex to exprAndrew Moore1993-06-191-50/+36
| | | | Notes: svn path=/head/; revision=31
* Initial import, 0.1 + pk 0.2.4-B1Rodney W. Grimes1993-06-121-0/+594
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=4