Jim Meyering
a7b3ea4189
.
1996-04-12 04:27:03 +00:00
Jim Meyering
7057c83fd4
Reindent.
...
(UT_TIME_MEMBER): New macro.
(print_uptime): Use it instead of #ifdef HAVE_UTMPX_H #else.
(print_entry): Likewise.
1996-04-11 02:30:09 +00:00
Jim Meyering
737ea4d4f9
(print_uptime) [UPTIME]: New function. From Kaveh Ghazi.
1996-04-10 04:57:09 +00:00
Jim Meyering
ac22df9290
.
1996-04-10 04:03:47 +00:00
Jim Meyering
a33c222135
.
1996-04-10 03:52:01 +00:00
Jim Meyering
f6d1e06932
.
1996-04-10 03:51:41 +00:00
Jim Meyering
447a13cdd4
Document uniq's new --ignore-case option.
1996-04-10 03:51:07 +00:00
Jim Meyering
727a9ed970
Add new option --ignore-case (-i).
...
Include memcasecmp.h.
(different): Compare with memcasecmp if ignoring case.
(main): Handle 'i'.
1996-04-10 03:50:31 +00:00
Jim Meyering
5d5979d9a8
(memcasecmp): Remove static definition of function.
...
Include memcasecmp.h instead.
1996-04-10 03:47:28 +00:00
Jim Meyering
5eb19629b0
.
1996-04-10 03:29:05 +00:00
Jim Meyering
cbfdc4fd51
.
1996-04-08 04:57:19 +00:00
Jim Meyering
24c0303794
.
1996-04-08 04:56:36 +00:00
Jim Meyering
d9422a21e0
.
1996-04-08 04:54:35 +00:00
Jim Meyering
4be30f34c2
.
1996-04-08 04:54:00 +00:00
Jim Meyering
4da76e0c6f
(mon_week_ISO): New function to implement new %V format.
...
(sun_week): Make TM parameter `const'.
(mon_week): Likewise.
(mon_week): Rewrite to correctly implement %W format..
1996-04-08 04:53:54 +00:00
Jim Meyering
39c92b4dc4
(print_numbers): Fix off-by-one error in backwards-counting loop.
...
Reported by Karl Eichwalder.
1996-04-08 04:37:45 +00:00
Jim Meyering
c74a04a26f
.
1996-04-07 17:56:40 +00:00
Jim Meyering
aedf3f9fc5
updage from gettext-0.10.12
1996-04-07 17:53:50 +00:00
Jim Meyering
7e76b8b7da
(usage): Give minimal description of the program.
...
(print_factors): Give a better diagnostic.
(main): Suggest --help upon failure.
Reported by Karl Eichwalder <ke@ke.Central.DE >.
1996-04-07 17:46:03 +00:00
Jim Meyering
d9fe359377
.
1996-04-07 17:27:27 +00:00
Jim Meyering
c32c5775be
Fiddle with messages.
1996-04-07 17:27:11 +00:00
Jim Meyering
3220407d48
(print_numbers): Give more precise diagnostic when increment
...
is inconsistent with FROM and TO.
(usage): Clean up help message.
1996-04-07 17:10:21 +00:00
Jim Meyering
45c51b256a
(main): Rearrange loops to get it right.
...
Reported by Karl Eichwalder <ke@ke.Central.DE >.
1996-04-07 16:59:12 +00:00
Jim Meyering
c1505fc01f
(sun_week): Make %U work properly.
...
Before, `date -d '1 Jan 1995' +%U' output `00'. Now it prints `01'.
1996-04-05 23:33:09 +00:00
Jim Meyering
cca1377d96
.
1996-04-05 16:08:32 +00:00
Jim Meyering
8024d6459c
.
1996-04-05 16:04:56 +00:00
Jim Meyering
78732c5421
Remove diagnostic.
1996-04-05 16:04:15 +00:00
Jim Meyering
0e199278c1
(main): Use `if' stmt, not while loop, around getopt invocation.
...
Otherwise, `./nice --a=1 -1 ./nice' (in which old-style option
follows a long option) gets an error.
1996-04-05 13:32:39 +00:00
Jim Meyering
9d22ab92f9
Patch from Frank Korz.
1996-04-05 13:14:59 +00:00
Jim Meyering
8a6f26dfd6
.
1996-04-05 04:37:05 +00:00
Jim Meyering
43b84ec02e
Remove fixed FIXME.
1996-04-05 04:00:05 +00:00
Jim Meyering
dadd9cf997
.
1996-04-05 03:58:37 +00:00
Jim Meyering
dacd5d7572
.
1996-04-05 03:55:07 +00:00
Jim Meyering
a8b09f0b0a
.
1996-04-05 03:28:34 +00:00
Jim Meyering
7670167015
.
1996-04-05 03:27:21 +00:00
Jim Meyering
7f00439ebe
.
1996-04-05 03:11:47 +00:00
Jim Meyering
a6263137d7
.
1996-04-05 01:22:42 +00:00
Jim Meyering
efb6a6917b
.
1996-04-04 23:16:13 +00:00
Jim Meyering
987f70fee5
.
1996-04-04 23:10:35 +00:00
Jim Meyering
42a0e84308
The following commands all failed unnecessarily.
...
tr -cs '[:upper:]' '[X*]'
tr -dcs '[:lower:]' n-rs-z
tr -ds '[:xdigit:]' [:alnum:]'
tr -dcs '[:alnum:]' [:digit:]'
tr -dc '[:upper:]'
Reported by Ross Ridge (ross@worf.mks.com ).
(validate): Add missing conjunct (translating) in test for
`translating and complementing character classes' error. Before,
valid uses of tr could fail. E.g. `tr -dcs '[:cntrl:]' '[:alnum:]''.
(homogeneous_spec_list): New function.
(validate): Use it to relax the old (overly restrictive) restriction
that prohibited use of complemented character classes when translating.
Now, that is allowed as long as the translation maps many to one.
(get_spec_stats): Rename and redefine global has_char_class from
has_upper_or_lower.
1996-04-04 23:08:30 +00:00
Jim Meyering
564707901d
.
1996-04-04 20:57:13 +00:00
Jim Meyering
70a316cc3d
Add tests from Ross Ridge.
1996-04-04 20:22:10 +00:00
Jim Meyering
7ef62e1fda
.
1996-04-04 12:58:29 +00:00
Jim Meyering
118e780f0d
.
1996-04-04 12:45:16 +00:00
Jim Meyering
3c5b5b8b03
.
1996-04-03 13:19:59 +00:00
Jim Meyering
0a6412bea9
Include stdio.h before grp.h.
...
Because <grp.h> on alpha OSF1 V2.0 uses "FILE *". From Kaveh Ghazi.
1996-04-03 13:19:16 +00:00
Jim Meyering
4a8b8d5f68
.
1996-04-03 12:56:09 +00:00
Jim Meyering
e00bceb7f2
update from gettext-0.10.11
1996-04-03 12:52:22 +00:00
Jim Meyering
58dce30461
.
1996-04-03 12:33:23 +00:00
Jim Meyering
3583bcd14d
.
1996-04-03 12:28:18 +00:00