aboutsummaryrefslogtreecommitdiff
path: root/bin/expr/expr.1
Commit message (Collapse)AuthorAgeFilesLines
* Add the new standard EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-161-12/+12
| | | | | | | Sort standard sections in the (documented) preferred order. Notes: svn path=/head/; revision=140353
* Removed harmful empty lines that crept in during the copyrightRuslan Ermilov2005-01-131-1/+0
| | | | | | | header update. Notes: svn path=/head/; revision=140169
* /*- or .\"- or #- to begin license clauses.Warner Losh2005-01-101-1/+2
| | | | Notes: svn path=/head/; revision=139969
* Remove BUGS section that talked about missing multibyte character support.Tim J. Robbins2004-07-121-5/+1
| | | | | | | We have support now that the regular expression routines do. Notes: svn path=/head/; revision=132029
* Document missing multibyte character handling in utilities specifiedTim J. Robbins2004-07-031-1/+5
| | | | | | | by POSIX. Notes: svn path=/head/; revision=131513
* mdoc(7) police:Ruslan Ermilov2002-11-261-1/+1
| | | | | | | | | | | Revert to using the .Tn POSIX and .Tn ANSI instead of \*[Px] and \*[Ai] strings; using these strings is unsafe in troff mode, as they include a change in a font size. Approved by: re Notes: svn path=/head/; revision=107282
* mdoc(7) police: markup fixes.Ruslan Ermilov2002-11-251-3/+3
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107226
* Create a small library function, check_utility_compat(3), to determineGarrett Wollman2002-10-281-31/+32
| | | | | | | | | | | whether a named utility should behave in FreeBSD 4.x-compatible mode or in a standard mode (default standard). The configuration is done malloc(3)-style, with either an environment variable or a symlink. Update expr(1) to use this new interface. Notes: svn path=/head/; revision=106065
* mdoc(7) police: markup nits.Ruslan Ermilov2002-05-291-11/+11
| | | | Notes: svn path=/head/; revision=97464
* EXPR_COMPAT should imply -e, since there is no way to specify it otherwise,Garrett Wollman2002-05-111-1/+17
| | | | | | | and -e reflects the historic behavior of FreeBSD's expr. Notes: svn path=/head/; revision=96382
* The response to my POSIX interpretation request says that `expr'Garrett Wollman2002-05-101-16/+23
| | | | | | | | | is required to be oblivious to overflow and to use the data type `long'. (Division by zero is undefined in ISO C so it's still OK to check for it here.) Add a new `-e' flag to get the old, more useful behavior. Notes: svn path=/head/; revision=96367
* Provide an environment variabloe, EXPR_COMPAT, which disables optionGarrett Wollman2002-04-221-2/+16
| | | | | | | parsing for compatibility with old implementations. Notes: svn path=/head/; revision=95278
* Typo (if => of).Garrett Wollman2002-03-221-1/+1
| | | | Notes: svn path=/head/; revision=92984
* Add a word of caution about integer arithmetic range and overflow detection.Garrett Wollman2002-03-221-0/+6
| | | | Notes: svn path=/head/; revision=92983
* Fix a few formatting brainos and make the formatting of the EXAMPLESGarrett Wollman2002-03-221-6/+9
| | | | | | | section somewhat clearer. Notes: svn path=/head/; revision=92982
* Make expr POSIX-compliant, and fix some bugs. Specifically:Garrett Wollman2002-03-221-16/+97
| | | | | | | | | | | | | | | | - expr must conform to the Utility Syntax Guidelines, so use getopt() to eat the (non-existent) options. - Use the Standard type intmax_t for arithmetic. - If an argument cannot be *completely* converted to an integer, then it is a string. Additionally make some style cleanups near the modified lines. This utility is still not completely style-compliant. Notes: svn path=/head/; revision=92979
* Remove whitespace at EOL.Dima Dorfman2001-07-151-14/+14
| | | | Notes: svn path=/head/; revision=79754
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-151-1/+1
| | | | Notes: svn path=/head/; revision=70056
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68935
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50471
* Add cross-references to test(1) and expr(1) respectively.Joseph Koshy1998-12-181-1/+4
| | | | | | | | PR: docs/9111 Submitted by: Josh Gilliam <josh@quick.net> Notes: svn path=/head/; revision=41915
* Correct use of .Nm.Philippe Charnier1998-05-131-11/+11
| | | | Notes: svn path=/head/; revision=36011
* 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 some spelling errors.Mike Pritchard1996-01-291-5/+5
| | | | Notes: svn path=/head/; revision=13719
* Fix gross spelling and typographical errors pointed out by Keith Bostic.Jordan K. Hubbard1994-04-241-2/+2
| | | | Notes: svn path=/head/; revision=1411
* Document the new, less restrictive, behavior of the matching operator.J.T. Conklin1993-10-041-14/+15
| | | | Notes: svn path=/head/; revision=540
* Update to my latest expr (fixes bugs with comparison and matching operators)J.T. Conklin1993-07-211-0/+131
Add man page I wrote. Notes: svn path=/head/; revision=181