Commit Graph

28 Commits

Author SHA1 Message Date
wiz
6af689d38b Grammar improvement by Patrick Welche. 2004-04-23 13:28:58 +00:00
wiz
a423ef4af0 Add some articles; use No instead of Li in one place
(more correct, see e.g. PostScript output); bump date for previous.
2004-04-20 20:47:47 +00:00
jdolecek
c92704dc53 add support for 'length' keyword, for compatibility with GNU expr 2004-04-20 19:44:51 +00:00
wiz
00c8cf496c Add some articles. 2003-12-21 11:18:25 +00:00
jdolecek
83f8b02df2 add a note explaining empty string matching via :
this adresses bin/23810 by VaX#n8

bump date and update copyright
2003-12-21 10:02:46 +00:00
perry
83237da0b1 spelling errors, some from Igor Sobrado in PR 19670 2003-03-29 18:25:22 +00:00
grant
a15c6f031f 'NetBSD.org' 2003-02-14 16:17:30 +00:00
wiz
14dfaa4b03 New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
2002-09-25 15:18:36 +00:00
pooka
2b1fe1903a rewritten in NetBSD 1.6 -> rewritten for NetBSD 1.6 2002-02-19 21:14:45 +00:00
ross
dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
wiz
e0ab876efe Use standard headers, sort sections. 2001-12-20 20:05:12 +00:00
wiz
880b4d21b9 Quote `:' correctly. 2001-10-18 11:00:03 +00:00
jdolecek
3b932d2fe1 Fix the operator precedence list to match reality. Operators were incorrectly
grouped there.
2001-05-07 10:14:43 +00:00
jdolecek
9ad5bf10de list parenthesis usage similar way as other operators
document operator precedence
rename section BUGS to COMPATIBILITY, add paragraph about -- handling
2000-10-30 16:20:12 +00:00
jdolecek
3a4441e3d4 reimplement expr using lexical parser generated by yacc
highlights:
* / is treated correctly depending upon context (addresses PR # 10995)
* use 64 bit arithmetic, so expr is able to process integer values from
	-(2**63) to (2**63 - 1)
* checks for integer over- & underflows added
* error messages improved, more error checking added

add AUTHOR section to manpage
add BUGS section, and mention possible drawbacks with other expr implementations

XXX the old expr treated empty string in arithmetic expressions as if it was 0
XXX this behaviour has been retained
2000-09-19 17:20:00 +00:00
kleink
2caf6aacdd For commands and utilities, use EXIT STATUS rather than RETURN VALUES as
appropriate (and documented in mdoc(7)).
2000-09-04 07:30:07 +00:00
hubertf
1cb54f68ac Add 'RETURN VALUE' section header. 2000-08-28 02:11:04 +00:00
mjl
5a14e8cac6 On memory allocation failure, return 3 as per POSIX. (from OpenBSD) 2000-01-14 07:14:41 +00:00
enami
c3872193cf Fix .Nm usage. 1997-10-20 08:50:59 +00:00
jtc
528957a005 Winning Strategies has placed this code into the Public Domain 1995-04-28 23:19:22 +00:00
cgd
49f0ad8601 convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
jtc
42f840d29d Fix spelling error in Copyright notice 1994-01-29 01:43:03 +00:00
jtc
e04c8e0705 Fix spelling errors. 1994-01-11 02:10:48 +00:00
jtc
441c51a9d5 Document the new, less restrictive, behavior of the matching operator. 1993-10-04 22:06:59 +00:00
jtc
a5102d01b8 Document the fact that expr is POSIX.2 compliant. 1993-08-28 04:21:00 +00:00
jtc
04b0d37be1 Document that string comparisons are done using the locale specific
collation sequence.
1993-08-16 23:22:49 +00:00
mycroft
11ad3ef4f1 Makefile 1993-08-02 17:15:26 +00:00
jtc
78bf9d408e Add a manual page. 1993-07-20 20:16:25 +00:00