| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
parsing for compatibility with old implementations.
Notes:
svn path=/head/; revision=95278
|
|
|
|
|
|
|
| |
deal with C99 formats.
Notes:
svn path=/head/; revision=92997
|
|
|
|
| |
Notes:
svn path=/head/; revision=92984
|
|
|
|
| |
Notes:
svn path=/head/; revision=92983
|
|
|
|
|
|
|
| |
section somewhat clearer.
Notes:
svn path=/head/; revision=92982
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
o gc some #ifdef sun ... #endif code
Approved by: arch@, new style(9)
Notes:
svn path=/head/; revision=90109
|
|
|
|
|
|
|
|
|
| |
set WARNS=0.
Reviewed by: mike
Notes:
svn path=/head/; revision=87323
|
|
|
|
| |
Notes:
svn path=/head/; revision=79754
|
|
|
|
|
|
|
| |
Reviewed by: bde
Notes:
svn path=/head/; revision=77244
|
|
|
|
| |
Notes:
svn path=/head/; revision=70056
|
|
|
|
| |
Notes:
svn path=/head/; revision=68935
|
|
|
|
| |
Notes:
svn path=/head/; revision=63755
|
|
|
|
| |
Notes:
svn path=/head/; revision=62926
|
|
|
|
| |
Notes:
svn path=/head/; revision=50471
|
|
|
|
|
|
|
|
| |
PR: docs/9111
Submitted by: Josh Gilliam <josh@quick.net>
Notes:
svn path=/head/; revision=41915
|
|
|
|
| |
Notes:
svn path=/head/; revision=36011
|
|
|
|
| |
Notes:
svn path=/head/; revision=35702
|
|
|
|
| |
Notes:
svn path=/head/; revision=22988
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Notes:
svn path=/head/; revision=16069
|
|
|
|
| |
Notes:
svn path=/head/; revision=16012
|
|
|
|
|
|
|
|
| |
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
Notes:
svn path=/head/; revision=15679
|
|
|
|
| |
Notes:
svn path=/head/; revision=13719
|
|
|
|
|
|
|
|
| |
was a valid integer. The actual decision between integer and string
is now context-dependant on the operator being used.
Notes:
svn path=/head/; revision=12378
|
|
|
|
|
|
|
|
|
|
|
| |
comparisions have been made as string comparisions, even in cases
where both operands clearly qualified as integers.
The fix is to make the parser properly analyzing whether an operand is
a valid integer or not.
Notes:
svn path=/head/; revision=9909
|
|
|
|
|
|
|
| |
Reviewed by: phk
Notes:
svn path=/head/; revision=8855
|
|
|
|
|
|
|
|
|
|
|
|
| |
/usr/src/bin. Note that some patches are still needed in that directory.
I (Joerg) finished most of Philippe's cleanup. /bin/sh will still
need *allot* of work, however.
Submitted by: charnier@lirmm.fr (Philippe Charnier)
Notes:
svn path=/head/; revision=7165
|
|
|
|
| |
Notes:
svn path=/head/; revision=3044
|
|
|
|
|
|
|
|
| |
apparently required by POSIX. It will be required in practice when
the bogus inclusion of <sys/types.h> is removed from <stdio.h>.
Notes:
svn path=/head/; revision=2502
|
|
|
|
| |
Notes:
svn path=/head/; revision=1411
|
|
|
|
| |
Notes:
svn path=/head/; revision=1078
|
|
|
|
| |
Notes:
svn path=/head/; revision=540
|
|
|
|
|
|
|
| |
expr implementations.
Notes:
svn path=/head/; revision=539
|
|
|
|
|
|
|
|
| |
weren't supported, they aren't standard, and they caused expr to dump
core.
Notes:
svn path=/head/; revision=468
|
|
|
|
|
|
|
|
|
|
| |
so we have to use strcoll() instead of strcmp().
1003.2 requires that a null string be returned if a string does not match
a \( \) subexpression.
Replaced fprintf/exit with calls to err and errx as appropriate.
Notes:
svn path=/head/; revision=295
|
|
|
|
|
|
|
|
| |
GNU regex for now, but will be replaced as soon as an alternative is made
availiable.
Notes:
svn path=/head/; revision=230
|
|
|
|
| |
Notes:
svn path=/head/; revision=182
|
|
|
|
|
|
|
| |
Add man page I wrote.
Notes:
svn path=/head/; revision=181
|
|
|
|
| |
Notes:
svn path=/head/; revision=31
|
|
Notes:
svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=4
|