Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix overflows while handling 64 bit integers. | 2018-03-31 | 1 | -47/+52 | |
| | | | | | | Based on FreeBSD's expr and NetBSD's old regression test suite. with input by and ok schwarze | ||||
* | Explicitly say that expr(1) handles decimal integers only, as mandated | 2017-08-16 | 1 | -7/+8 | |
| | | | | | | by POSIX and as implemented in our utility; triggered by a question from Alessandro DE LAURENZIS <just22 at atlantide dot t28 dot net> on misc@. OK millert@ | ||||
* | remove redundant variable declarations in Makefiles, since those are | 2017-07-09 | 1 | -2/+1 | |
| | | | | | | the default. okay millert@ | ||||
* | Delete useless setlocale(3) in src/bin/. | 2016-10-19 | 1 | -23/+9 | |
| | | | | | | Minor cleanup while here: return from main, static void __dead usage, etc. Based on a patch from Jan Stary <hans at stare dot cz>. Feedback and OK tb@, OK millert@. | ||||
* | need to increase INT_MAX to 64 bits too. from Nathan Holstein | 2016-01-07 | 1 | -3/+4 | |
| | |||||
* | use int64_t for arithmetic. 64 bits ought to be enough for anyone. | 2016-01-06 | 1 | -12/+12 | |
| | | | | ok deraadt millert schwarze | ||||
* | fix exit status on pledge(2) failure. | 2015-12-29 | 1 | -2/+2 | |
| | | | | OK tb@ jsg@ | ||||
* | Change all tame callers to namechange to pledge(2). | 2015-10-09 | 1 | -3/+3 | |
| | |||||
* | expr can use tame "stdio" | 2015-10-04 | 1 | -1/+5 | |
| | | | | ok semarie | ||||
* | avoid casts of malloc() if stdlib.h is present | 2015-08-11 | 1 | -3/+3 | |
| | |||||
* | Properly escape punctuation when given as an argument to a macro; | 2015-01-16 | 1 | -3/+3 | |
| | | | | this was the only mandoc warning in src/bin. | ||||
* | add HISTORY and AUTHORS; | 2014-02-23 | 1 | -2/+20 | |
| | | | | | my research triggered by a question from Adam Moskowitz via Kirk McKusick; feedback and ok jmc@ | ||||
* | add unsigned char casts for specific calls to ctype.h macros. | 2013-11-21 | 1 | -2/+2 | |
| | | | | ok guenther step | ||||
* | Don't die with SIGFPE on INT_MIN / -1 or % -1. Instead make INT_MIN / | 2013-03-28 | 1 | -3/+8 | |
| | | | | | | -1 == INT_MIN and % -1 == 0. ok matthew deraadt | ||||
* | remove some unneccessary macros and put EXAMPLES in a more standard format; | 2010-09-03 | 1 | -11/+14 | |
| | |||||
* | add an EXIT STATUS section for /bin; | 2010-09-03 | 1 | -4/+4 | |
| | |||||
* | move exit returns blurb out of DIAGNOSTICS; from daniel dickman | 2010-07-22 | 1 | -17/+17 | |
| | |||||
* | bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few | 2009-02-08 | 1 | -3/+3 | |
| | | | | updates to follow; | ||||
* | document regexp support | 2009-01-22 | 1 | -4/+5 | |
| | | | | okay millert@, jmc@ | ||||
* | convert to new .Dd format; | 2007-05-31 | 1 | -2/+2 | |
| | |||||
* | - consistent STANDARDS blurb | 2007-05-29 | 1 | -3/+4 | |
| | | | | | | - note which options are extensions to POSIX discussed w/ deraadt otto millert | ||||
* | handle -- as POSIX requires; from kili@outback.escape.de; ok otto | 2006-06-21 | 1 | -1/+5 | |
| | |||||
* | use asprintf instead; dhill@mindcry.org | 2005-11-12 | 1 | -7/+3 | |
| | |||||
* | document matching the empty string; | 2003-12-22 | 1 | -1/+17 | |
| | | | | | | | started by vax at carolina dot rr dot com (NetBSD PR 23810), resolved by jdolecek@netbsd (rev. 1.24); ok millert@ | ||||
* | ansification, art ok | 2003-06-11 | 1 | -2/+2 | |
| | |||||
* | add prototypes; ok millert@ w/ 'static', 'no static', deraadt@ | 2003-05-14 | 1 | -2/+17 | |
| | |||||
* | use a variable | 2003-04-15 | 1 | -3/+5 | |
| | |||||
* | more .Li | 2003-03-12 | 1 | -4/+4 | |
| | |||||
* | use $ or # before commands in examples | 2002-11-14 | 1 | -4/+4 | |
| | |||||
* | ansi | 2002-07-04 | 1 | -29/+17 | |
| | |||||
* | knf | 2002-06-09 | 1 | -3/+3 | |
| | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 1 | -2/+2 | |
| | |||||
* | o) start new sentence on a new line; | 2001-11-13 | 1 | -2/+3 | |
| | | | | | | | | o) don't use .Pp before/after .Ss; o) wrap long lines; o) fix bogus .Xr usage; millert@ ok; | ||||
* | Add some rudimentary EXAMPLES sections and standardize the way we display | 2000-10-18 | 1 | -8/+7 | |
| | | | | existing EXAMPLES sections. | ||||
* | Remove hard sentence breaks. | 2000-03-17 | 1 | -2/+3 | |
| | |||||
* | Formatting fixes. Also, add a SEE ALSO section and Xr test(1). | 1999-09-23 | 1 | -16/+23 | |
| | |||||
* | start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@ | 1999-06-04 | 1 | -15/+15 | |
| | |||||
* | always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.net | 1998-12-15 | 1 | -2/+2 | |
| | |||||
* | start killing redundant .Nm macro arguments (mandoc ``remembers'' the first one | 1998-11-28 | 1 | -6/+6 | |
| | | | | it's given) | ||||
* | First complete sweep of man pages, bin/. Command/function names previously | 1998-09-14 | 1 | -6/+7 | |
| | | | | | (incorrectly) capatilized are fixed. Comma splices, hyphenations, SYNOPSIS cleanups, other miscellaneous typos. | ||||
* | let "expr a : /" work. Mark the next token after the match operator as a | 1997-11-13 | 1 | -14/+17 | |
| | | | | | pattern, causing the lexical analyzer to short-circuit around operator parsing. my fix to netbsd pr#4187, augustss@cs.chalmers.se | ||||
* | $OpenBSD$ | 1997-09-21 | 1 | -2/+1 | |
| | |||||
* | i am bored enough to fix terminal space/tab uglies | 1997-09-01 | 1 | -2/+2 | |
| | |||||
* | Note return code >2 if malloc fails (POSIX spec behavior). | 1997-08-19 | 1 | -1/+3 | |
| | |||||
* | POSIX 1003.2: exit code is 3 if memory allocation fails, 2 if expr invalid. | 1997-08-19 | 1 | -4/+4 | |
| | |||||
* | tabify | 1997-07-23 | 1 | -20/+20 | |
| | |||||
* | -Wall'ing. | 1996-12-14 | 1 | -3/+7 | |
| | |||||
* | sprintf -> snprintf paranoia | 1996-09-15 | 1 | -2/+2 | |
| | |||||
* | update rcsid | 1996-06-23 | 3 | -0/+3 | |
| | |||||
* | handle locale being incorrect | 1996-06-10 | 1 | -5/+2 | |
| |