summaryrefslogtreecommitdiff
path: root/bin/expr
AgeCommit message (Expand)Author
2022-12-22Denote multiple arguments with 'arg ...' not 'args'Klemens Nanni
2022-01-28When it's the possessive of 'it', it's spelled "its", without thePhilip Guenther
2018-03-31Fix overflows while handling 64 bit integers.Tobias Stoeckmann
2017-08-16Explicitly say that expr(1) handles decimal integers only, as mandatedIngo Schwarze
2017-07-09remove redundant variable declarations in Makefiles, since those areMarc Espie
2016-10-19Delete useless setlocale(3) in src/bin/.Ingo Schwarze
2016-01-07need to increase INT_MAX to 64 bits too. from Nathan HolsteinTed Unangst
2016-01-06use int64_t for arithmetic. 64 bits ought to be enough for anyone.Ted Unangst
2015-12-29fix exit status on pledge(2) failure.Gleydson Soares
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-04expr can use tame "stdio"Theo de Raadt
2015-08-11avoid casts of malloc() if stdlib.h is presentTheo de Raadt
2015-01-16Properly escape punctuation when given as an argument to a macro;Ingo Schwarze
2014-02-23add HISTORY and AUTHORS;Ingo Schwarze
2013-11-21add unsigned char casts for specific calls to ctype.h macros.Theo de Raadt
2013-03-28Don't die with SIGFPE on INT_MIN / -1 or % -1. Instead make INT_MIN /Nicholas Marriott
2010-09-03remove some unneccessary macros and put EXAMPLES in a more standard format;Jason McIntyre
2010-09-03add an EXIT STATUS section for /bin;Jason McIntyre
2010-07-22move exit returns blurb out of DIAGNOSTICS; from daniel dickmanJason McIntyre
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
2009-01-22document regexp supportMarc Espie
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29- consistent STANDARDS blurbJason McIntyre
2006-06-21handle -- as POSIX requires; from kili@outback.escape.de; ok ottoTheo de Raadt
2005-11-12use asprintf instead; dhill@mindcry.orgTheo de Raadt
2003-12-22document matching the empty string;Jason McIntyre
2003-06-11ansification, art okTheo de Raadt
2003-05-14add prototypes; ok millert@ w/ 'static', 'no static', deraadt@Jason Peel
2003-04-15use a variableTheo de Raadt
2003-03-12more .LiTheo de Raadt
2002-11-14use $ or # before commands in examplesTheo de Raadt
2002-07-04ansiTheo de Raadt
2002-06-09knfTodd T. Fries
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-13o) start new sentence on a new line;Mike Pechkin
2000-10-18Add some rudimentary EXAMPLES sections and standardize the way we displayAaron Campbell
2000-03-17Remove hard sentence breaks.Aaron Campbell
1999-09-23Formatting fixes. Also, add a SEE ALSO section and Xr test(1).Aaron Campbell
1999-06-04start to remove non-escaped trailing whitespace, it can confuse troff; pjanzen@Aaron Campbell
1998-12-15always give .Nm macros an argument in SYNOPSIS sections; krw@tcn.netAaron Campbell
1998-11-28start killing redundant .Nm macro arguments (mandoc ``remembers'' the first oneAaron Campbell
1998-09-14First complete sweep of man pages, bin/. Command/function names previouslyAaron Campbell
1997-11-13let "expr a : /" work. Mark the next token after the match operator as aTheo de Raadt
1997-09-21$OpenBSD$Theo de Raadt
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-08-19Note return code >2 if malloc fails (POSIX spec behavior).denny
1997-08-19POSIX 1003.2: exit code is 3 if memory allocation fails, 2 if expr invalid.denny
1997-07-23tabifykstailey
1996-12-14-Wall'ing.Michael Shalayeff
1996-09-15sprintf -> snprintf paranoiaTodd C. Miller