freebsd-nq/bin/expr
Garrett Wollman f07e42470f Make expr POSIX-compliant, and fix some bugs. Specifically:
- 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.
2002-03-22 20:18:26 +00:00
..
expr.1 Make expr POSIX-compliant, and fix some bugs. Specifically: 2002-03-22 20:18:26 +00:00
expr.y Make expr POSIX-compliant, and fix some bugs. Specifically: 2002-03-22 20:18:26 +00:00
Makefile Default to WARNS=2. Binary builds that cannot handle this must explicitly 2001-12-04 01:57:47 +00:00