platform/upstream/coreutils.git
28 years agocopied from id-utils-3.0k
Jim Meyering [Sun, 23 Jun 1996 17:58:15 +0000 (17:58 +0000)]
copied from id-utils-3.0k

28 years ago(main): New option --print (-p).
Jim Meyering [Sat, 22 Jun 1996 22:27:32 +0000 (22:27 +0000)]
(main): New option --print (-p).
Detect write failure.
Add --bourne-shell and --c-shell aliases for --sh and --csh resp.

28 years ago.
Jim Meyering [Sat, 22 Jun 1996 22:27:14 +0000 (22:27 +0000)]
.

28 years agoMajor overhaul. No longer read from /etc/DIR_COLORS or from ~/.dircolors.
Jim Meyering [Sat, 22 Jun 1996 22:02:37 +0000 (22:02 +0000)]
Major overhaul.  No longer read from /etc/DIR_COLORS or from ~/.dircolors.
Defaults are now compiled in.  If you specify a file on the command line,
it is used instead of the compiled-in defaults.

28 years ago(parse_ls_color): Use STREQ here instead of strcmp(...) == 0.
Jim Meyering [Wed, 19 Jun 1996 04:22:28 +0000 (04:22 +0000)]
(parse_ls_color): Use STREQ here instead of strcmp(...) == 0.

28 years ago(selected_fstype, excluded_fstype, show_disk, main):
Jim Meyering [Wed, 19 Jun 1996 04:21:49 +0000 (04:21 +0000)]
(selected_fstype, excluded_fstype, show_disk, main):
Use STREQ here instead of strcmp(...) == 0.

28 years ago.
Jim Meyering [Wed, 19 Jun 1996 04:17:36 +0000 (04:17 +0000)]
.

28 years ago.
Jim Meyering [Wed, 19 Jun 1996 04:14:29 +0000 (04:14 +0000)]
.

28 years ago.
Jim Meyering [Wed, 19 Jun 1996 04:11:32 +0000 (04:11 +0000)]
.

28 years ago(copy_reg): Cast both sides of comparison to size_t to avoid warning
Jim Meyering [Wed, 19 Jun 1996 04:10:17 +0000 (04:10 +0000)]
(copy_reg): Cast both sides of comparison to size_t to avoid warning
about `comparison between signed and unsigned' from gcc -Wall.

28 years ago.
Jim Meyering [Wed, 19 Jun 1996 03:39:00 +0000 (03:39 +0000)]
.

28 years ago.
Jim Meyering [Wed, 19 Jun 1996 03:32:08 +0000 (03:32 +0000)]
.

28 years ago(decode_switches): Correct typo in error message:
Jim Meyering [Wed, 19 Jun 1996 03:31:59 +0000 (03:31 +0000)]
(decode_switches): Correct typo in error message:
enironment -> environment.  From Santiago Vila Doncel
<sanvila@unex.es>.

28 years ago(decode_switches): Correct typo in error message: enironment -> environment.
Jim Meyering [Wed, 19 Jun 1996 03:25:44 +0000 (03:25 +0000)]
(decode_switches): Correct typo in error message: enironment -> environment.
From Santiago Vila Doncel <sanvila@unex.es>.

28 years ago.
Jim Meyering [Wed, 19 Jun 1996 03:21:05 +0000 (03:21 +0000)]
.

28 years ago(do_copy): Use STREQ here instead of strcmp(...) == 0.
Jim Meyering [Wed, 19 Jun 1996 03:19:51 +0000 (03:19 +0000)]
(do_copy): Use STREQ here instead of strcmp(...) == 0.
Declare pointer parameters const as appropriate.

28 years ago.
Jim Meyering [Wed, 19 Jun 1996 03:15:58 +0000 (03:15 +0000)]
.

28 years ago(do_copy): Change message from `missing file argument' to
Jim Meyering [Wed, 19 Jun 1996 02:56:06 +0000 (02:56 +0000)]
(do_copy): Change message from `missing file argument' to
more precise `missing destination file'.  From Karl Berry.

28 years ago.
Jim Meyering [Wed, 19 Jun 1996 02:53:14 +0000 (02:53 +0000)]
.

28 years ago.
Jim Meyering [Wed, 19 Jun 1996 02:52:02 +0000 (02:52 +0000)]
.

28 years ago.
Jim Meyering [Wed, 19 Jun 1996 02:51:09 +0000 (02:51 +0000)]
.

28 years ago(STREQ): New macro.
Jim Meyering [Wed, 19 Jun 1996 02:00:24 +0000 (02:00 +0000)]
(STREQ): New macro.

28 years ago.
Jim Meyering [Wed, 19 Jun 1996 02:00:16 +0000 (02:00 +0000)]
.

28 years ago(do_copy): When the force and backup options have been
Jim Meyering [Wed, 19 Jun 1996 01:59:12 +0000 (01:59 +0000)]
(do_copy): When the force and backup options have been
specified and the source and destination are the same name for an
existing, regular file, convert the user's command, e.g.
`cp --force --backup foo foo' to `cp --force foo fooSUFFIX'
where SUFFIX is determined by any version control options used.
At urging of (most recently) Karl Berry.

28 years ago.
Jim Meyering [Wed, 19 Jun 1996 01:48:25 +0000 (01:48 +0000)]
.

28 years ago.
Jim Meyering [Wed, 19 Jun 1996 01:41:35 +0000 (01:41 +0000)]
.

28 years ago.
Jim Meyering [Sun, 16 Jun 1996 18:52:46 +0000 (18:52 +0000)]
.

28 years ago.
Jim Meyering [Sun, 16 Jun 1996 18:49:50 +0000 (18:49 +0000)]
.

28 years ago.
Jim Meyering [Sun, 16 Jun 1996 18:49:08 +0000 (18:49 +0000)]
.

28 years ago.
Jim Meyering [Sun, 16 Jun 1996 18:48:30 +0000 (18:48 +0000)]
.

28 years ago.
Jim Meyering [Sun, 16 Jun 1996 18:47:38 +0000 (18:47 +0000)]
.

28 years ago(EXTRA_DIST): Add texinfo.tex. But it will
Jim Meyering [Sun, 16 Jun 1996 18:47:30 +0000 (18:47 +0000)]
(EXTRA_DIST): Add texinfo.tex.  But it will
be removed once automake is fixed to add it automatically.

28 years ago.
Jim Meyering [Sun, 16 Jun 1996 18:41:48 +0000 (18:41 +0000)]
.

28 years ago.
Jim Meyering [Sun, 16 Jun 1996 03:23:53 +0000 (03:23 +0000)]
.

28 years ago.
Jim Meyering [Sun, 16 Jun 1996 03:23:06 +0000 (03:23 +0000)]
.

28 years ago(EXTRA_DIST): Add basename.c.
Jim Meyering [Sun, 16 Jun 1996 03:21:47 +0000 (03:21 +0000)]
(EXTRA_DIST): Add basename.c.
(fu_SOURCES): Remove basename.c.

28 years ago.
Jim Meyering [Sun, 16 Jun 1996 03:18:07 +0000 (03:18 +0000)]
.

28 years agoUpdate from time-1.7.
Jim Meyering [Fri, 14 Jun 1996 04:42:33 +0000 (04:42 +0000)]
Update from time-1.7.

28 years ago.
Jim Meyering [Fri, 14 Jun 1996 03:52:05 +0000 (03:52 +0000)]
.

28 years ago($(PACKAGE).pot): Reapply change of May 30.
Jim Meyering [Fri, 14 Jun 1996 03:51:57 +0000 (03:51 +0000)]
($(PACKAGE).pot): Reapply change of May 30.
Depend on POTFILES only when using maintainer mode.

28 years ago.
Jim Meyering [Fri, 14 Jun 1996 03:33:18 +0000 (03:33 +0000)]
.

28 years ago. TEXTUTILS-1_18
Jim Meyering [Wed, 12 Jun 1996 04:32:54 +0000 (04:32 +0000)]
.

28 years ago.
Jim Meyering [Wed, 12 Jun 1996 04:30:58 +0000 (04:30 +0000)]
.

28 years ago.
Jim Meyering [Tue, 11 Jun 1996 17:26:10 +0000 (17:26 +0000)]
.

28 years ago.
Jim Meyering [Tue, 11 Jun 1996 00:13:09 +0000 (00:13 +0000)]
.

28 years ago.
Jim Meyering [Tue, 11 Jun 1996 00:12:53 +0000 (00:12 +0000)]
.

28 years ago.
Jim Meyering [Tue, 11 Jun 1996 00:12:08 +0000 (00:12 +0000)]
.

28 years ago.
Jim Meyering [Mon, 10 Jun 1996 23:23:53 +0000 (23:23 +0000)]
.

28 years ago.
Jim Meyering [Mon, 10 Jun 1996 23:20:06 +0000 (23:20 +0000)]
.

28 years ago.
Jim Meyering [Sat, 8 Jun 1996 04:29:59 +0000 (04:29 +0000)]
.

28 years ago.
Jim Meyering [Sat, 8 Jun 1996 03:16:21 +0000 (03:16 +0000)]
.

28 years ago.
Jim Meyering [Fri, 7 Jun 1996 05:14:55 +0000 (05:14 +0000)]
.

28 years ago.
Jim Meyering [Fri, 7 Jun 1996 03:16:35 +0000 (03:16 +0000)]
.

28 years agoUpdate from gettext-0.10.16.
Jim Meyering [Fri, 7 Jun 1996 02:59:01 +0000 (02:59 +0000)]
Update from gettext-0.10.16.

28 years ago.
Jim Meyering [Thu, 6 Jun 1996 03:54:38 +0000 (03:54 +0000)]
.

28 years ago.
Jim Meyering [Sun, 2 Jun 1996 04:49:35 +0000 (04:49 +0000)]
.

28 years agoRename MO_ to SHELLTYPE_.
Jim Meyering [Sun, 2 Jun 1996 02:58:05 +0000 (02:58 +0000)]
Rename MO_ to SHELLTYPE_.

28 years agoDeclare pointer parameters const as appropriate.
Jim Meyering [Sun, 2 Jun 1996 02:52:37 +0000 (02:52 +0000)]
Declare pointer parameters const as appropriate.

28 years ago.
Jim Meyering [Sat, 1 Jun 1996 23:08:53 +0000 (23:08 +0000)]
.

28 years ago(decode_switches): Set print_with_color in one statement.
Jim Meyering [Sat, 1 Jun 1996 23:08:35 +0000 (23:08 +0000)]
(decode_switches): Set print_with_color in one statement.

28 years agoRename options and internal variables to reflect change to
Jim Meyering [Sat, 1 Jun 1996 18:36:19 +0000 (18:36 +0000)]
Rename options and internal variables to reflect change to
--color=WHEN where WHEN is never, always, or auto (for consistency
with e.g. cp --sparse=WHEN.  For at least a while, the original
slackware-supported arguments `none', `force', `yes', etc will be
supported but deprecated by lack of documentation.
(decode_switches): Use STDOUT_FILENO instead of `1' in is_tty test.
(usage): Update/add description of the --color option.

28 years ago. TEXTUTILS-1_17
Jim Meyering [Sat, 1 Jun 1996 03:21:53 +0000 (03:21 +0000)]
.

28 years ago.
Jim Meyering [Sat, 1 Jun 1996 03:19:25 +0000 (03:19 +0000)]
.

28 years ago.
Jim Meyering [Sat, 1 Jun 1996 03:06:06 +0000 (03:06 +0000)]
.

28 years ago. TEXTUTILS-1_16
Jim Meyering [Fri, 31 May 1996 03:45:49 +0000 (03:45 +0000)]
.

28 years ago.
Jim Meyering [Fri, 31 May 1996 03:45:31 +0000 (03:45 +0000)]
.

28 years ago.
Jim Meyering [Fri, 31 May 1996 03:45:16 +0000 (03:45 +0000)]
.

28 years ago.
Jim Meyering [Fri, 31 May 1996 03:44:15 +0000 (03:44 +0000)]
.

28 years ago.
Jim Meyering [Fri, 31 May 1996 03:42:11 +0000 (03:42 +0000)]
.

28 years ago.
Jim Meyering [Fri, 31 May 1996 03:36:22 +0000 (03:36 +0000)]
.

28 years ago(main): Interpret the old-style +VALUE and -VALUE
Jim Meyering [Fri, 31 May 1996 03:35:32 +0000 (03:35 +0000)]
(main): Interpret the old-style +VALUE and -VALUE
options like -c VALUE and -c +VALUE (resp) when VALUE has one of
the [bkm] suffix multipliers.  This makes the code consistent
with --help output.

28 years ago.
Jim Meyering [Fri, 31 May 1996 03:08:07 +0000 (03:08 +0000)]
.

28 years ago(limfield): #ifdef-out a block of code that makes
Jim Meyering [Fri, 31 May 1996 03:07:45 +0000 (03:07 +0000)]
(limfield): #ifdef-out a block of code that makes
GNU sort incompatible with Unix sort when a key-end spec refers
to the N'th character in a field that has fewer than N characters.
The POSIX spec doesn't appear to specify behavior for this case.
From Karl Heuer.

28 years ago.
Jim Meyering [Fri, 31 May 1996 02:36:34 +0000 (02:36 +0000)]
.

28 years ago(.po.mo): Reenable dependency and rule.
Jim Meyering [Fri, 31 May 1996 02:35:59 +0000 (02:35 +0000)]
(.po.mo): Reenable dependency and rule.
It is required when using native NLS, e.g. on Solaris.
From Marcus Daniels.

28 years ago($(PACKAGE).pot): Depend on POTFILES only when using maintainer mode.
Jim Meyering [Fri, 31 May 1996 02:26:23 +0000 (02:26 +0000)]
($(PACKAGE).pot): Depend on POTFILES only when using maintainer mode.
Reported by Karl Heuer.

28 years ago(stamp-cat-id): Avoid using temp filename longer than 14 characters.
Jim Meyering [Fri, 31 May 1996 00:58:51 +0000 (00:58 +0000)]
(stamp-cat-id): Avoid using temp filename longer than 14 characters.
(mostlyclean): Likewise.
From Karl Heuer.

28 years ago(decode_one_format): Use %lu (not %d) printf formats
Jim Meyering [Fri, 31 May 1996 00:51:48 +0000 (00:51 +0000)]
(decode_one_format): Use %lu (not %d) printf formats
corresponding to unsigned long, SIZE.

28 years ago.
Jim Meyering [Fri, 31 May 1996 00:51:23 +0000 (00:51 +0000)]
.

28 years ago. TEXTUTILS-1_15
Jim Meyering [Thu, 30 May 1996 06:34:25 +0000 (06:34 +0000)]
.

28 years ago(installcheck): New target.
Jim Meyering [Thu, 30 May 1996 06:34:16 +0000 (06:34 +0000)]
(installcheck): New target.

28 years ago.
Jim Meyering [Thu, 30 May 1996 05:23:02 +0000 (05:23 +0000)]
.

28 years ago(decode_one_format): Take another parameter.
Jim Meyering [Thu, 30 May 1996 05:09:56 +0000 (05:09 +0000)]
(decode_one_format): Take another parameter.
Give a specific diagnostic for invalid format spec here rather
than an overly general one from caller's caller.
(decode_format_string): Update caller.
(main): Don't give diagnostic here when decode_format_string fails.
Remove assertions that could fail on some Crays because they don't
have a two-byte type.
Johan Danielsson (joda@pdc.kth.se) reported the failed assertions.

28 years ago.
Jim Meyering [Thu, 30 May 1996 05:09:31 +0000 (05:09 +0000)]
.

28 years ago.
Jim Meyering [Thu, 30 May 1996 02:32:19 +0000 (02:32 +0000)]
.

28 years ago(docolon): Give a warning when the first character
Jim Meyering [Thu, 30 May 1996 02:32:03 +0000 (02:32 +0000)]
(docolon): Give a warning when the first character
of the basic regular expression is `^'.

28 years ago.
Jim Meyering [Thu, 30 May 1996 02:31:45 +0000 (02:31 +0000)]
.

28 years ago(main): Use STDIN_FILENO instead of less portable fileno (stdin).
Jim Meyering [Thu, 30 May 1996 00:59:50 +0000 (00:59 +0000)]
(main): Use STDIN_FILENO instead of less portable fileno (stdin).

28 years ago.
Jim Meyering [Wed, 29 May 1996 04:46:00 +0000 (04:46 +0000)]
.

28 years ago.
Jim Meyering [Tue, 28 May 1996 23:42:01 +0000 (23:42 +0000)]
.

28 years ago.
Jim Meyering [Tue, 28 May 1996 23:41:11 +0000 (23:41 +0000)]
.

28 years ago(main): Don't mark "%s" as a translatable string.
Jim Meyering [Tue, 28 May 1996 23:40:11 +0000 (23:40 +0000)]
(main): Don't mark "%s" as a translatable string.
From Göran Uddeborg.

28 years ago(print_stats): Don't mark "%u %s" as a translatable string.
Jim Meyering [Tue, 28 May 1996 23:39:12 +0000 (23:39 +0000)]
(print_stats): Don't mark "%u %s" as a translatable string.
From Göran Uddeborg (gvran@uddeborg.pp.se).

28 years ago(main): Use STDIN_FILENO and STDOUT_FILENO instead of less portable fileno(*).
Jim Meyering [Tue, 28 May 1996 01:42:07 +0000 (01:42 +0000)]
(main): Use STDIN_FILENO and STDOUT_FILENO instead of less portable fileno(*).

28 years agoHack out broken WEAK junk. TEXTUTILS-1_14e
Jim Meyering [Fri, 24 May 1996 03:06:01 +0000 (03:06 +0000)]
Hack out broken WEAK junk.

28 years agoDefine __P.
Jim Meyering [Fri, 24 May 1996 02:45:38 +0000 (02:45 +0000)]
Define __P.

28 years ago.
Jim Meyering [Thu, 23 May 1996 13:14:11 +0000 (13:14 +0000)]
.

28 years agoFIXME: fill this in
Jim Meyering [Thu, 23 May 1996 13:13:35 +0000 (13:13 +0000)]
FIXME: fill this in

28 years ago.
Jim Meyering [Thu, 23 May 1996 13:05:04 +0000 (13:05 +0000)]
.

28 years ago(read_filesystem_list) [MOUNTED_LISTMNTENT]: New function.
Jim Meyering [Thu, 23 May 1996 13:04:41 +0000 (13:04 +0000)]
(read_filesystem_list) [MOUNTED_LISTMNTENT]: New function.
From Johan Danielsson (joda@pdc.kth.se).