summaryrefslogtreecommitdiff
path: root/bin/expr
AgeCommit message (Expand)Author
2018-06-27Add a missing check to handle correctly 0 * 0 in expr(1)kamil
2018-06-27Improve the * operator handling in expr(1)kamil
2018-06-14remove notreachedchristos
2018-06-14return to caller instead of exit(2)christos
2018-06-13Detect properly overflow in expr(1) for 0 + INTkamil
2018-06-12Rework perform_arith_op() in expr(1) to omit Undefined Behaviorkamil
2018-02-02convert HAVE_GCC handling to modern GCC release numbering:mrg
2017-07-03Remove workaround for ancient HTML generation code.wiz
2016-09-05Drop main() prototype.sevan
2016-08-23Mark email addresses as mailto links, heads up by Sascha Wildner.sevan
2016-08-23Instruction to not split the line needs to be stated separately.sevan
2016-08-23Add HISTORY sectionsevan
2016-04-01for GCC 5.3 pass -fwrapv as this relies upon well-defined integer overflow.mrg
2012-08-12Improvements: wording, punctuation, macro usage.wiz
2012-05-09Remove an unnecessary space in the manpage. Patch provided by Bug Hunting.jdf
2012-03-15Add __printflike attribution to use vprintf and friends with an argumentjoerg
2011-08-25Mark yyerror as dead.joerg
2011-03-23minor usage nitdholland
2010-05-24Explicitly quote | and : meant as separate operator. Kill trailingjoerg
2009-01-20Revert for now, pending discussion of how expr should behave in the casejoerg
2009-01-20SUS says that expr must support "--" to prevent interpretation ofjoerg
2008-04-30Normalize TNF license, move to 2 clause.martin
2008-04-30Convert TNF licenses to new 2 clause variantmartin
2006-03-17Handle asprintf failing to allocate.rumble
2005-06-01appease gcc -Wuninitializedlukem
2004-04-23Grammar improvement by Patrick Welche.wiz
2004-04-20Add some articles; use No instead of Li in one placewiz
2004-04-20add support for 'length' keyword, for compatibility with GNU exprjdolecek
2004-03-20explicitly use REG_BASIC when calling regcomp(3), instead of 0jdolecek
2003-12-21Add some articles.wiz
2003-12-21add a note explaining empty string matching via :jdolecek
2003-03-29spelling errors, some from Igor Sobrado in PR 19670perry
2003-02-14'NetBSD.org'grant
2002-09-25New policy: New sentences start on a new line.wiz
2002-02-19rewritten in NetBSD 1.6 -> rewritten for NetBSD 1.6pooka
2002-02-08Generate <>& symbolically. I'm avoiding .../dist/... directories for now.ross
2001-12-20Use standard headers, sort sections.wiz
2001-10-18Quote `:' correctly.wiz
2001-09-16Use {g,s}etprogname, and some other KNF stuff. Patch by Petri Koistinen.wiz
2001-05-07Fix the operator precedence list to match reality. Operators were incorrectlyjdolecek
2001-05-06Various cleanups/fixes.jmc
2001-05-05Various changes to fix bugs in PR bin/12838.jmc
2001-04-25Spell occurred correctly.simonb
2001-02-04remove redundant declaration of yyparsechristos
2000-10-30list parenthesis usage similar way as other operatorsjdolecek
2000-10-30add a hack to properly handle '--' as first argument -jdolecek
2000-10-29The "&" operator has a higer precedence than "|".thorpej
2000-10-27also credit J.T. Conklin in copyright messagejdolecek
2000-10-26fix operator precedence - | or & have lower priority thanjdolecek
2000-09-29in regexp handling code, fix the format passed to asprintf() to bejdolecek