Jim Meyering
96096e769d
Now this file is just a stub.
2001-08-26 06:59:12 +00:00
Jim Meyering
b8d9cea40a
Renamed from a factored strtoumax.c.
2001-08-26 06:58:10 +00:00
Jim Meyering
f9a905424f
Factored to work both for unsigned and signed types, ...
2001-08-26 06:53:56 +00:00
Jim Meyering
10d29bac27
*** empty log message ***
2001-08-26 06:51:25 +00:00
Jim Meyering
9a3433a769
(mergefps): Do not allocate at least sort_size bytes for each merge buffer.
...
Instead, allocate at least sort_size bytes total.
2001-08-26 06:51:10 +00:00
Jim Meyering
b2dfbca4f7
.
2001-08-26 05:42:40 +00:00
Jim Meyering
a25c404a31
*** empty log message ***
2001-08-26 05:41:35 +00:00
Jim Meyering
1463ff6353
(nextarg): Use strcoll, not strcmp.
2001-08-26 05:40:46 +00:00
Jim Meyering
c8cde25280
expr now uses LC_COLLATE for string comparison, as per POSIX.
2001-08-26 05:39:37 +00:00
Jim Meyering
b3d09e5532
.
2001-08-25 17:24:16 +00:00
Jim Meyering
c764daeac9
.
2001-08-25 17:14:46 +00:00
Jim Meyering
8e17181225
*** empty log message ***
2001-08-25 17:13:45 +00:00
Jim Meyering
cd66abd80a
*** empty log message ***
2001-08-25 17:13:30 +00:00
Jim Meyering
0603231e16
Use @option, rather than @samp everywhere.
2001-08-25 17:13:23 +00:00
Jim Meyering
e73f197706
*** empty log message ***
2001-08-25 15:11:00 +00:00
Jim Meyering
71409500a9
Re-enable some commented-out tests.
2001-08-25 15:10:53 +00:00
Jim Meyering
83485ba28d
*** empty log message ***
2001-08-25 15:09:36 +00:00
Jim Meyering
598382f216
(main): Fix a typo in the previous patch: missing
...
a bounds check for examples like `uniq a b c'.
2001-08-25 15:09:31 +00:00
Jim Meyering
ba2900b4aa
(main): Fix some more incompatibilities with POSIX.2,
...
(e.g. `uniq +3 --' did not work) by invoking getopt_long with
leading '-', resembling what was done to 'sort' on 2001-03-20.
Recognize an +N option only if it is an integer in range, and
(if POSIXLY_CORRECT) only if a file name argument has not been seen;
otherwise silently treat it as a file name.
If the user specifies too many operands, output the first one
in the error message, as a diagnostic aid.
2001-08-25 15:07:17 +00:00
Jim Meyering
1774bc1d78
*** empty log message ***
2001-08-25 13:50:47 +00:00
Jim Meyering
b27c41df41
(main): Don't report an error when given the valid options `+3 -d'.
2001-08-25 13:50:41 +00:00
Jim Meyering
a1ec1c4af3
.
2001-08-25 09:23:34 +00:00
Jim Meyering
666c84f948
*** empty log message ***
2001-08-25 09:20:14 +00:00
Jim Meyering
c1471b042b
(different): Don't assume that lengths can fit
...
into size_t. Tune code for the common case where the line
lengths differ: we avoid comparing them entirely in that case.
2001-08-25 09:19:59 +00:00
Jim Meyering
7bd952c2a8
*** empty log message ***
2001-08-25 09:04:57 +00:00
Jim Meyering
18005e1153
Add tests for -s 0 and -w 0.
2001-08-25 09:04:54 +00:00
Jim Meyering
a2057e286e
*** empty log message ***
2001-08-25 09:04:33 +00:00
Jim Meyering
74f084382d
*** empty log message ***
2001-08-25 07:33:39 +00:00
Jim Meyering
59d2dceb2c
Remove arbitrary restrictions on sizes, fixing a bug reported
...
by Geoff Whale.
(skip_fields, skip_chars, check_chars): Now size_t, not int.
(size_opt): New function. Do not arbitrarily reject size zero.
Change the wording of the error message slightly, for convenience.
(find_field): Use size_t, not int, to compute sizes.
(different, main): check_chars==0 is no longer a special case, as
it defaults to SIZE_MAX.
(main): Check for overflow with args like -234234234234234.
Use 'size_opt' to convert optional arguments to sizes.
2001-08-25 07:33:20 +00:00
Jim Meyering
b087829d9b
Add new test, #54 , for the just-fixed bug.
2001-08-25 05:48:19 +00:00
Jim Meyering
a6cac026c6
*** empty log message ***
2001-08-25 05:42:53 +00:00
Jim Meyering
81cb734910
(find_field): Don't count trailing newline to be
...
part of the field. This disagrees with POSIX.2, but it's
gotta be a bug in the standard. An interpretations request
has been submitted to PASC.
2001-08-25 05:42:46 +00:00
Jim Meyering
90790efabe
*** empty log message ***
2001-08-25 05:42:07 +00:00
Jim Meyering
8e092dca08
(cut invocation): Document how cut treats lines with no separators.
2001-08-24 08:48:21 +00:00
Jim Meyering
fa10fa9e64
*** empty log message ***
2001-08-24 08:41:48 +00:00
Jim Meyering
9c2368bab8
Use n_users' in place of argc - optind' in two more places.
2001-08-24 08:41:26 +00:00
Jim Meyering
815dafff5a
(main): Fail if -l is specified with no username.
2001-08-24 08:40:29 +00:00
Jim Meyering
5f6b9742d1
*** empty log message ***
2001-08-24 08:31:11 +00:00
Jim Meyering
b64b2719bc
(usage): Clarify description of -l. From Clark Morgan.
2001-08-24 08:31:02 +00:00
Jim Meyering
3fcc2c725f
.
2001-08-24 08:11:30 +00:00
Jim Meyering
8126042cb4
*** empty log message ***
2001-08-24 07:59:09 +00:00
Jim Meyering
30d2217876
*** empty log message ***
2001-08-24 07:59:02 +00:00
Jim Meyering
c8de90386d
*** empty log message ***
2001-08-24 07:58:42 +00:00
Jim Meyering
1553648f54
*** empty log message ***
2001-08-24 07:58:21 +00:00
Jim Meyering
aef02ded49
'expr' now requires '+' rather than 'quote' to quote tokens.
2001-08-24 07:58:15 +00:00
Jim Meyering
4bc8b66e3a
(posixly_correct): Remove; no longer needed.
...
(main): Do not worry about POSIXLY_CORRECT, as it's OK for
expr to have options (so long as they do not begin with digits).
2001-08-24 07:56:46 +00:00
Jim Meyering
e0f3ba1a46
update from libc
2001-08-24 06:39:29 +00:00
Jim Meyering
1683c6c470
update from glibc
2001-08-23 06:43:44 +00:00
Jim Meyering
24b279f642
wording tweak
2001-08-21 09:39:22 +00:00
Jim Meyering
e82e2278a2
*** empty log message ***
2001-08-19 18:12:03 +00:00