summaryrefslogtreecommitdiffstats
path: root/bin/expr
AgeCommit message (Expand)AuthorFilesLines
2018-03-31Fix overflows while handling 64 bit integers.tobias1-47/+52
2017-08-16Explicitly say that expr(1) handles decimal integers only, as mandatedschwarze1-7/+8
2017-07-09remove redundant variable declarations in Makefiles, since those areespie1-2/+1
2016-10-19Delete useless setlocale(3) in src/bin/.schwarze1-23/+9
2016-01-07need to increase INT_MAX to 64 bits too. from Nathan Holsteintedu1-3/+4
2016-01-06use int64_t for arithmetic. 64 bits ought to be enough for anyone.tedu1-12/+12
2015-12-29fix exit status on pledge(2) failure.gsoares1-2/+2
2015-10-09Change all tame callers to namechange to pledge(2).deraadt1-3/+3
2015-10-04expr can use tame "stdio"deraadt1-1/+5
2015-08-11avoid casts of malloc() if stdlib.h is presentderaadt1-3/+3
2015-01-16Properly escape punctuation when given as an argument to a macro;schwarze1-3/+3
2014-02-23add HISTORY and AUTHORS;schwarze1-2/+20
2013-11-21add unsigned char casts for specific calls to ctype.h macros.deraadt1-2/+2
2013-03-28Don't die with SIGFPE on INT_MIN / -1 or % -1. Instead make INT_MIN /nicm1-3/+8
2010-09-03remove some unneccessary macros and put EXAMPLES in a more standard format;jmc1-11/+14
2010-09-03add an EXIT STATUS section for /bin;jmc1-4/+4
2010-07-22move exit returns blurb out of DIAGNOSTICS; from daniel dickmanjmc1-17/+17
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewjmc1-3/+3
2009-01-22document regexp supportespie1-4/+5
2007-05-31convert to new .Dd format;jmc1-2/+2
2007-05-29- consistent STANDARDS blurbjmc1-3/+4
2006-06-21handle -- as POSIX requires; from kili@outback.escape.de; ok ottoderaadt1-1/+5
2005-11-12use asprintf instead; dhill@mindcry.orgderaadt1-7/+3
2003-12-22document matching the empty string;jmc1-1/+17
2003-06-11ansification, art okderaadt1-2/+2
2003-05-14add prototypes; ok millert@ w/ 'static', 'no static', deraadt@jsyn1-2/+17
2003-04-15use a variablederaadt1-3/+5
2003-03-12more .Lideraadt1-4/+4
2002-11-14use $ or # before commands in examplesderaadt1-4/+4
2002-07-04ansideraadt1-29/+17
2002-06-09knftodd1-3/+3
2002-02-16Part 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.millert1-2/+2
2001-11-13o) start new sentence on a new line;mpech1-2/+3
2000-10-18Add some rudimentary EXAMPLES sections and standardize the way we displayaaron1-8/+7
2000-03-17Remove hard sentence breaks.aaron1-2/+3
1999-09-23Formatting fixes. Also, add a SEE ALSO section and Xr test(1).aaron1-16/+23
1999-06-04start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@aaron1-15/+15
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netaaron1-2/+2
1998-11-28start killing redundant .Nm macro arguments (mandoc ``remembers'' the first oneaaron1-6/+6
1998-09-14First complete sweep of man pages, bin/. Command/function names previouslyaaron1-6/+7
1997-11-13let "expr a : /" work. Mark the next token after the match operator as aderaadt1-14/+17
1997-09-21$OpenBSD$deraadt1-2/+1
1997-09-01i am bored enough to fix terminal space/tab ugliesderaadt1-2/+2
1997-08-19Note return code >2 if malloc fails (POSIX spec behavior).denny1-1/+3
1997-08-19POSIX 1003.2: exit code is 3 if memory allocation fails, 2 if expr invalid.denny1-4/+4
1997-07-23tabifykstailey1-20/+20
1996-12-14-Wall'ing.mickey1-3/+7
1996-09-15sprintf -> snprintf paranoiamillert1-2/+2
1996-06-23update rcsidderaadt3-0/+3
1996-06-10handle locale being incorrectderaadt1-5/+2