Commit Graph

20 Commits

Author SHA1 Message Date
perry e45cb21451 Mike Cheponis noted that I didn't list the edition of Knuth that the
page number refers to. Fixed.
2004-12-01 00:03:45 +00:00
itojun 1ce764ab35 use arc4random 2004-09-10 05:34:54 +00:00
cube 5446fd12e5 Teach getopt about the new -0 option. Noted by Jeff Ito in PR 25621. 2004-05-18 04:09:21 +00:00
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
wiz f3d114a539 Improve grammar in last, and bump date for -0. 2003-08-23 22:36:21 +00:00
christos f49a04b8f2 make -0 actually work 2003-08-21 00:01:13 +00:00
christos 0d30aed428 Add -0 option. 2003-08-20 23:37:51 +00:00
lukem ef83aa34d9 clear errno before strto(u)l() if we're going to test it for ERANGE afterwards 2003-04-18 03:21:00 +00:00
wiz 505d53c807 Clarify input source. Drop a duplicate .Pp while I am here. 2002-03-05 15:06:16 +00:00
simonb 49e4ac39e7 Include <limits.h> for LONG_MIN/LONG_MAX.
Put kernel include file first, as per KNF.
2001-09-01 02:17:29 +00:00
perry 1c06d95c62 new KNF style function declarations 2001-05-29 23:22:42 +00:00
mycroft 3fe322d08e Power of 2 realloc. 2001-03-16 08:02:32 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
is 33247bac6d Add missing newline in usage string. 1999-02-03 16:22:16 +00:00
fair a7b28c97e7 This trivial and computationally useless pointer initialization makes
gcc 2.7.2.2 happy on m68k again.
1998-12-07 04:10:13 +00:00
perry ff669e2e1a Small bug fix from Soren S. Jorvang (soren@t.dk) 1998-12-04 17:47:06 +00:00
thorpej bdbbf87163 Must cast size_t to long and use %ld to print. 1998-09-30 18:37:05 +00:00
christos 635d311056 - argument error detection
- long line support
- argument change [-f <fname>] instead of [-c <args>]
- conditional prototypes
1998-09-24 12:28:39 +00:00
perry 50a3fa9e59 make compile with warnings on. 1998-09-23 21:45:44 +00:00
perry 6e92230560 Add shuffle, a small program for producing permutations.
Note that is still a little cleanup to be done, but I thought it was
the right point to commit.
1998-09-23 21:05:59 +00:00