Commit Graph

1714 Commits

Author SHA1 Message Date
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
Jim Meyering 3191649a85 (copy_reg): Use ST_NBLOCKS (sb) * 512', not sb.st_blocks *
DEV_BSIZE.'  From H.J. Lu (hjl@lucon.org).
1996-04-03 12:20:24 +00:00
Jim Meyering 4325d27ddd Include assert.h (disabled).
(path_concat): New function.
(do_copy): Use path_concat instead of open-coding part of its
functionality in two places.  This has the additional benefit
of avoiding forming destination names like `D//file' when the
destination directory D includes a trailing slash -- as would
happen when cp is used like this:
mkdir D; touch file D/file; cp -i file D/
Reported by Franois Pinard.
1996-04-03 05:42:14 +00:00
Jim Meyering 834a0cf023 . 1996-04-02 15:57:23 +00:00
Jim Meyering 778abcac1e . 1996-04-02 14:28:26 +00:00
Jim Meyering 741c894274 (unsetenv): unprotoize. 1996-04-01 04:29:28 +00:00
Jim Meyering 651e543fd6 . 1996-04-01 00:16:11 +00:00
Jim Meyering ae56578d18 . 1996-03-31 23:30:43 +00:00
Jim Meyering 74ca57dfe8 . 1996-03-31 22:31:30 +00:00
Jim Meyering 91aab55475 . 1996-03-31 17:20:34 +00:00
Jim Meyering fa9c4632bb . 1996-03-31 17:20:02 +00:00
Jim Meyering 3d1c60aba7 . 1996-03-31 17:19:06 +00:00
Jim Meyering 399abab9bc (quote_filename): Use ISGRAPH and ISPRINT in place of
ASCII-centric tests against literals.
(length_of_file_name_and_frills): Likewise.
1996-03-31 17:18:28 +00:00
Jim Meyering 908040f25e Rip out color support. 1996-03-31 14:22:12 +00:00
Jim Meyering ac906fde2f update from FSF:/home/gd/gnu/lib 1996-03-30 14:26:16 +00:00
Jim Meyering 57dcd53d86 Update from libc. SH-UTILS-1_12g 1996-03-30 12:39:36 +00:00
Jim Meyering 45479ef311 Upgrade from gettext-0.10.10. 1996-03-30 12:19:38 +00:00
Jim Meyering 21fb4595e6 . 1996-03-30 04:18:13 +00:00