platform/upstream/coreutils.git
20 years ago*** empty log message ***
Jim Meyering [Thu, 8 Jul 2004 14:01:59 +0000 (14:01 +0000)]
*** empty log message ***

20 years agoprintf cleanup, to avoid undefined behavior, to add support for
Jim Meyering [Thu, 8 Jul 2004 14:01:49 +0000 (14:01 +0000)]
printf cleanup, to avoid undefined behavior, to add support for
formats that Bash supports, and to support wide integers like
Bash does.

(UNSPECIFIED): Remove.  All uses now replaced by
booleans, so that we don't reserve any values for precision or
width (like Bash).
(STRTOX): Use prototype, not K&R-style definition.
(vstrtoimax): Renamed from xstrtol (to avoid confusion with xstrtol
in ../lib), with type change to intmax_t.
All uses changed.
(vstrtoumax): Renamed from xstrtoul, with type change to uintmax_t.
All uses changed.
(vstrtod): Renamed from xstrtod.  All uses changed.
(print_direc): Use boolean arg instead of special value to indicate
a missing precision or width.  LENGTH no longer includes
length modifiers or conversion character.  New arg CONVERSION
now specifies conversion character.
Use intmax_t-width formatting for integers (like Bash).
Add support for C99 %a, %A, %F (like Bash).
Add support for field width with %c (POSIX requires this).
Add a FIXME for lack of support for field width and precision
for %b.
Add support for '\'', '0' flags.
Check for invalid combinations of flags, field width, precision,
and conversion, to prevent use of undefined behavior.
Allow multiple length modifiers, for formats like "%lld" (like Bash).
Add support for C99 'j', 't', 'z' length modifiers (like Bash).
In error message, output entire invalid conversion specification,
instead of merely outputting % followed by the conversion char.

20 years ago*** empty log message ***
Jim Meyering [Wed, 7 Jul 2004 15:54:54 +0000 (15:54 +0000)]
*** empty log message ***

20 years agoDon't infloop when MAXSYMLINKS is not defined.
Jim Meyering [Wed, 7 Jul 2004 15:54:51 +0000 (15:54 +0000)]
Don't infloop when MAXSYMLINKS is not defined.
Detect symlink loops much earlier (albeit lazily) on systems
with MAXSYMLINKS defined to a large value.

Include "cycle-check.h".
(canonicalize_filename_mode): Don't try to detect loops by counting
symlink-hops.  Instead, use the cycle-check module.

20 years agoInclude stdbool.h.
Jim Meyering [Wed, 7 Jul 2004 15:07:08 +0000 (15:07 +0000)]
Include stdbool.h.
Forward-declare `struct stat'.

20 years ago*** empty log message ***
Jim Meyering [Wed, 7 Jul 2004 09:28:24 +0000 (09:28 +0000)]
*** empty log message ***

20 years ago(canonicalize_filename_mode): Remove do-while(0) loop.
Jim Meyering [Wed, 7 Jul 2004 09:28:15 +0000 (09:28 +0000)]
(canonicalize_filename_mode): Remove do-while(0) loop.
Replace each corresponding `break' stmt with `continue'.

20 years ago.
Jim Meyering [Tue, 6 Jul 2004 17:30:29 +0000 (17:30 +0000)]
.

20 years ago.
Jim Meyering [Tue, 6 Jul 2004 17:00:53 +0000 (17:00 +0000)]
.

20 years agoInclude "stat-macros.h".
Jim Meyering [Tue, 6 Jul 2004 17:00:36 +0000 (17:00 +0000)]
Include "stat-macros.h".
(canonicalize_filename_mode): Remove #ifdef S_ISLNK, now that
S_ISLNK is guaranteed to be defined (via stat-macros.h).

20 years ago*** empty log message ***
Jim Meyering [Tue, 6 Jul 2004 16:56:30 +0000 (16:56 +0000)]
*** empty log message ***

20 years ago(libfetish_a_SOURCES): Add canonicalize.c unconditionally.
Jim Meyering [Tue, 6 Jul 2004 16:56:21 +0000 (16:56 +0000)]
(libfetish_a_SOURCES): Add canonicalize.c unconditionally.

20 years ago(canonicalize_mode_t): New type.
Jim Meyering [Tue, 6 Jul 2004 16:55:40 +0000 (16:55 +0000)]
(canonicalize_mode_t): New type.

20 years agoInclude "file-type.h".
Jim Meyering [Tue, 6 Jul 2004 16:55:26 +0000 (16:55 +0000)]
Include "file-type.h".
(canonicalize_filename_mode): New function, based on
canonicalize_file_name, supports three canonicalize modes.
(canonicalize_file_name)
[!HAVE_CANONICALIZE_FILE_NAME && !HAVE_RESOLVEPATH]: Use it.

20 years ago*** empty log message ***
Jim Meyering [Tue, 6 Jul 2004 16:17:25 +0000 (16:17 +0000)]
*** empty log message ***

20 years ago(AC_FUNC_CANONICALIZE_FILE_NAME): Do not add canonicalize.c here.
Jim Meyering [Tue, 6 Jul 2004 16:17:10 +0000 (16:17 +0000)]
(AC_FUNC_CANONICALIZE_FILE_NAME): Do not add canonicalize.c here.

20 years ago*** empty log message ***
Jim Meyering [Tue, 6 Jul 2004 16:16:01 +0000 (16:16 +0000)]
*** empty log message ***

20 years ago(readlink invocation): Document new
Jim Meyering [Tue, 6 Jul 2004 16:15:45 +0000 (16:15 +0000)]
(readlink invocation): Document new
"readlink -f" behaviour and new canonicalize options, -e and -m.

20 years ago.
Jim Meyering [Tue, 6 Jul 2004 16:14:45 +0000 (16:14 +0000)]
.

20 years agorenamed from ../misc/readline
Jim Meyering [Tue, 6 Jul 2004 16:14:40 +0000 (16:14 +0000)]
renamed from ../misc/readline

20 years ago.
Jim Meyering [Tue, 6 Jul 2004 16:14:19 +0000 (16:14 +0000)]
.

20 years agoFrom Dmitry V. Levin
Jim Meyering [Tue, 6 Jul 2004 16:14:15 +0000 (16:14 +0000)]
From Dmitry V. Levin

20 years ago(SUBDIRS): Add readlink.
Jim Meyering [Tue, 6 Jul 2004 16:13:31 +0000 (16:13 +0000)]
(SUBDIRS): Add readlink.

20 years ago(AC_CONFIG_FILES): Add tests/readlink/Makefile.
Jim Meyering [Tue, 6 Jul 2004 16:13:17 +0000 (16:13 +0000)]
(AC_CONFIG_FILES): Add tests/readlink/Makefile.

20 years ago(TESTS): Remove basic readlink test.
Jim Meyering [Tue, 6 Jul 2004 16:13:01 +0000 (16:13 +0000)]
(TESTS): Remove basic readlink test.

20 years agorenamed to ../readlink/rl-1
Jim Meyering [Tue, 6 Jul 2004 16:12:39 +0000 (16:12 +0000)]
renamed to ../readlink/rl-1

20 years agoChange "readlink -f" to be more compatible with prior implementations.
Jim Meyering [Tue, 6 Jul 2004 16:11:03 +0000 (16:11 +0000)]
Change "readlink -f" to be more compatible with prior implementations.
Add more canonicalize options, -e and -m.
Add comprehensive tests for all readlink modes.

(longopts): Add new options.
(usage): Document them.
(canonicalize_fname): New proxy function.
(main): Handle new options.

20 years ago*** empty log message ***
Jim Meyering [Mon, 5 Jul 2004 08:41:43 +0000 (08:41 +0000)]
*** empty log message ***

20 years ago(path_concat): Improve comment. From Paul Eggert.
Jim Meyering [Mon, 5 Jul 2004 08:41:13 +0000 (08:41 +0000)]
(path_concat): Improve comment.  From Paul Eggert.

20 years ago*** empty log message ***
Jim Meyering [Sun, 4 Jul 2004 20:14:52 +0000 (20:14 +0000)]
*** empty log message ***

20 years ago(mempcpy): Don't define if a system header defines it.
Jim Meyering [Sun, 4 Jul 2004 20:14:44 +0000 (20:14 +0000)]
(mempcpy): Don't define if a system header defines it.
Don't include stdio.h, stdlib.h, unistd.h, strdup.h.
(longest_relative_suffix): New function.
(path_concat): Use it.  Assume first argument is not NULL.
Port to DOS.  Omit redundant separators.
Report an error instead of returning NULL.
Use mempcpy instead of memcpy.
(xpath_concat): Remove: not declared or used.

20 years ago*** empty log message ***
Jim Meyering [Sun, 4 Jul 2004 18:13:02 +0000 (18:13 +0000)]
*** empty log message ***

20 years ago(copy_internal): Add a FIXME comment.
Jim Meyering [Sun, 4 Jul 2004 18:12:55 +0000 (18:12 +0000)]
(copy_internal): Add a FIXME comment.

20 years ago(canonicalize_file_name): Assume that path_concat never returns NULL.
Jim Meyering [Sun, 4 Jul 2004 18:03:07 +0000 (18:03 +0000)]
(canonicalize_file_name): Assume that path_concat never returns NULL.

20 years ago*** empty log message ***
Jim Meyering [Sun, 4 Jul 2004 18:01:56 +0000 (18:01 +0000)]
*** empty log message ***

20 years ago(main): Don't pass NULL first argument to path_concat.
Jim Meyering [Sun, 4 Jul 2004 18:01:04 +0000 (18:01 +0000)]
(main): Don't pass NULL first argument to path_concat.
This cleans up the semantics a bit, as we no longer try to open the
same file twice.

20 years ago(movefile): Assume path_concat returns non-NULL.
Jim Meyering [Sun, 4 Jul 2004 17:47:29 +0000 (17:47 +0000)]
(movefile): Assume path_concat returns non-NULL.

20 years ago(do_copy): Assume path_concat returns non-NULL.
Jim Meyering [Sun, 4 Jul 2004 17:47:09 +0000 (17:47 +0000)]
(do_copy): Assume path_concat returns non-NULL.
(make_path_private): 2nd arg is now size_t, not int,
to avoid problem when path_concat dir name is longer than 2 GiB (!).

20 years ago(copy_dir): Assume path_concat returns non-NULL.
Jim Meyering [Sun, 4 Jul 2004 17:46:17 +0000 (17:46 +0000)]
(copy_dir): Assume path_concat returns non-NULL.

20 years ago*** empty log message ***
Jim Meyering [Sun, 4 Jul 2004 17:44:24 +0000 (17:44 +0000)]
*** empty log message ***

20 years ago(gl_PATH_CONCAT): Don't require gl_AC_DOS, the
Jim Meyering [Sun, 4 Jul 2004 17:44:17 +0000 (17:44 +0000)]
(gl_PATH_CONCAT): Don't require gl_AC_DOS, the
prerequisite modules now handle the DOS stuff.
Don't check for unistd.h.

20 years ago.
Jim Meyering [Fri, 2 Jul 2004 17:02:32 +0000 (17:02 +0000)]
.

20 years ago*** empty log message ***
Jim Meyering [Fri, 2 Jul 2004 17:02:20 +0000 (17:02 +0000)]
*** empty log message ***

20 years ago(Common options, Target directory, cp invocation,
Jim Meyering [Fri, 2 Jul 2004 17:02:15 +0000 (17:02 +0000)]
(Common options, Target directory, cp invocation,
install invocation, mv invocation, ln invocation): Add -t as a
short option for --target-directory, and -T as a short option for
--no-target-directory.  Clean up relevant synopses a bit, so that
the language is similar for all.

20 years ago.
Jim Meyering [Fri, 2 Jul 2004 17:01:30 +0000 (17:01 +0000)]
.

20 years agoAdd short names -t and -T for --target-directory
Jim Meyering [Fri, 2 Jul 2004 17:00:53 +0000 (17:00 +0000)]
Add short names -t and -T for --target-directory
and --no-target-directory options, respectively.

(NO_TARGET_DIRECTORY_OPTION, TARGET_DIRECTORY_OPTION):
Remove.  All uses changed to 'T' and 't', respectively.

(long_options, main, usage): Add -t and -T as
aliases for --target-directory and --no-target-directory,
respectively.

20 years agoAdd short names -t and -T for --target-directory
Jim Meyering [Fri, 2 Jul 2004 17:00:10 +0000 (17:00 +0000)]
Add short names -t and -T for --target-directory
and --no-target-directory options, respectively.

(NO_TARGET_DIRECTORY_OPTION, TARGET_DIRECTORY_OPTION):
Remove.  All uses changed to 'T' and 't', respectively.

(long_opts, usage, do_copy, main): Add -t and -T as
aliases for --target-directory and --no-target-directory,
respectively.

20 years ago * NEWS: Add short names -t and -T for --target-directory
Jim Meyering [Fri, 2 Jul 2004 16:59:41 +0000 (16:59 +0000)]
* NEWS: Add short names -t and -T for --target-directory
and --no-target-directory options, respectively.

20 years ago.
Jim Meyering [Fri, 2 Jul 2004 16:34:40 +0000 (16:34 +0000)]
.

20 years agoPut the right amount of space at sentence ends.
Jim Meyering [Fri, 2 Jul 2004 16:29:50 +0000 (16:29 +0000)]
Put the right amount of space at sentence ends.
Make sure "i.e." and "e.g." are followed by commas (the GNU style).
Put blank lines before and after every @example, prefer the
previous line to end in ":" (when not a sentence end, for consistency),
and prepend @noindent to the following line when appropriate.
In examples, use "--" arguments when needed to prevent undesired
interpretation of operands as options.
Use "file name" rather than "filename", as per the GNU coding standards.
Remove unwanted spaces before @footnote.
Use "---" when appropriate, instead of " -- ".
Use "name" (or something like that) rather than "path" or "pathname",
since the GNU coding standards don't allow "path".
Use @acronym, @command, @minus{}, @samp in a few places,
where appropriate.
(Target directory): Clarify description of example.
(fmt invocation): Give issue number for reference, and reword
for clarity.
(sort invocation): Note that xargs without -0 also mishandles
file names containing some special characters other than newline.
(Translating): Mention that \012 is not universally portable.
Use '\0' rather than '\000'.
(Squeezing): bourne -> Bourne.
Fix unportable usage of '\n' by replacing it with '[\n*]'.
(More details about version sort): Remove unnecessary indent
in examples.
(dd invocation): Use 'kill -s USR1', not 'kill -USR1', as POSIX
indicates that the former is more portable (the latter is an XSI
extension).
(shred invocation): Use @uref rather than @url, and use a more-typical
style for the date.
(kill invocation): Clarify usage; for example, "kill -s TERM -1"
isn't allowed.
(seq invocation): Reword to avoid implying that printf necessarily
fails for numbers outside the 32-bit range.  Prefer separating
options from their operands.
(Opening the software toolbox): Give an online reference to
Robbins's article, and give a date.  Don't imply that the
current documentation is unchanged from his article.
(Putting the tools together): Rework examples so that they don't
assume the C locale; nowadays many users now operate outside the C
locale by default.  While we're at it, don't assume ASCII either.
Indent example to match actual output from GNU uniq.  Remove some
unnecessary and confusing brackets from 'tr' operands.  "Software
Tools in Pascal" is back in print, according to Amazon anyway.
Add references to Kernighan's online copies of examples.

20 years ago*** empty log message ***
Jim Meyering [Fri, 2 Jul 2004 15:18:46 +0000 (15:18 +0000)]
*** empty log message ***

20 years agoFail upon use of @url. Use @uref instead.
Jim Meyering [Fri, 2 Jul 2004 15:18:43 +0000 (15:18 +0000)]
Fail upon use of @url.  Use @uref instead.

20 years ago*** empty log message ***
Jim Meyering [Fri, 2 Jul 2004 15:14:44 +0000 (15:14 +0000)]
*** empty log message ***

20 years ago(check-texinfo): Fail if a @footnote directive follows non-punctuation.
Jim Meyering [Fri, 2 Jul 2004 15:13:42 +0000 (15:13 +0000)]
(check-texinfo): Fail if a @footnote directive follows non-punctuation.

20 years ago(check-texinfo): Disallow `filename' in .texi files.
Jim Meyering [Fri, 2 Jul 2004 15:05:40 +0000 (15:05 +0000)]
(check-texinfo): Disallow `filename' in .texi files.

20 years agoChange `filesystem' to `file system' in a comment.
Jim Meyering [Wed, 30 Jun 2004 22:51:11 +0000 (22:51 +0000)]
Change `filesystem' to `file system' in a comment.

20 years ago*** empty log message ***
Jim Meyering [Wed, 30 Jun 2004 22:50:18 +0000 (22:50 +0000)]
*** empty log message ***

20 years ago.
Jim Meyering [Wed, 30 Jun 2004 22:47:26 +0000 (22:47 +0000)]
.

20 years agobump serial number, remove/replace spaces before TAB.
Jim Meyering [Wed, 30 Jun 2004 22:45:32 +0000 (22:45 +0000)]
bump serial number, remove/replace spaces before TAB.

20 years agoReflect renaming:
Jim Meyering [Wed, 30 Jun 2004 22:44:55 +0000 (22:44 +0000)]
Reflect renaming:
  s/gl_LIST_MOUNTED_FILESYSTEMS/gl_LIST_MOUNTED_FILE_SYSTEMS/

20 years ago*** empty log message ***
Jim Meyering [Wed, 30 Jun 2004 22:44:15 +0000 (22:44 +0000)]
*** empty log message ***

20 years ago(gl_LIST_MOUNTED_FILE_SYSTEMS): Renamed from
Jim Meyering [Wed, 30 Jun 2004 22:44:10 +0000 (22:44 +0000)]
(gl_LIST_MOUNTED_FILE_SYSTEMS): Renamed from
gl_LIST_MOUNTED_FILESYSTEMS.  All uses changed.

20 years agoChange `filesystem' to `file system', mostly in comments.
Jim Meyering [Wed, 30 Jun 2004 22:43:06 +0000 (22:43 +0000)]
Change `filesystem' to `file system', mostly in comments.
Also in one `checking ... ' message.

20 years agobump serial number
Jim Meyering [Wed, 30 Jun 2004 22:42:11 +0000 (22:42 +0000)]
bump serial number

20 years ago(gl_AC_DOS): Define FILE_SYSTEM_PREFIX_LEN, not
Jim Meyering [Wed, 30 Jun 2004 22:41:59 +0000 (22:41 +0000)]
(gl_AC_DOS): Define FILE_SYSTEM_PREFIX_LEN, not
FILESYSTEM_PREFIX_LEN.  Generate
FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX, not
FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX.  Generate
FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR, not
FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR.

20 years ago.
Jim Meyering [Wed, 30 Jun 2004 22:41:35 +0000 (22:41 +0000)]
.

20 years ago.
Jim Meyering [Wed, 30 Jun 2004 22:40:52 +0000 (22:40 +0000)]
.

20 years ago(FILE_SYSTEM_PREFIX_LEN): Renamed from
Jim Meyering [Wed, 30 Jun 2004 22:40:47 +0000 (22:40 +0000)]
(FILE_SYSTEM_PREFIX_LEN): Renamed from
FILESYSTEM_PREFIX_LEN.  All uses changed.

20 years agoUse `file system', not filesystem in a comment.
Jim Meyering [Wed, 30 Jun 2004 22:40:20 +0000 (22:40 +0000)]
Use `file system', not filesystem in a comment.

20 years ago(read_file_system_list): Renamed from read_filesystem_list.
Jim Meyering [Wed, 30 Jun 2004 22:39:59 +0000 (22:39 +0000)]
(read_file_system_list): Renamed from read_filesystem_list.
All definitions and uses changed.

20 years agoUse `file system', not filesystem in a comment.
Jim Meyering [Wed, 30 Jun 2004 22:39:13 +0000 (22:39 +0000)]
Use `file system', not filesystem in a comment.

20 years ago(FILE_SYSTEM_PREFIX_LEN): Renamed from
Jim Meyering [Wed, 30 Jun 2004 22:38:03 +0000 (22:38 +0000)]
(FILE_SYSTEM_PREFIX_LEN): Renamed from
FILESYSTEM_PREFIX_LEN.  All uses changed.

20 years ago(read_file_system_list): Renamed from
Jim Meyering [Wed, 30 Jun 2004 22:37:20 +0000 (22:37 +0000)]
(read_file_system_list): Renamed from
read_filesystem_list.  All definitions and uses changed.

20 years ago(FILE_SYSTEM_PREFIX_LEN): Renamed from
Jim Meyering [Wed, 30 Jun 2004 22:37:03 +0000 (22:37 +0000)]
(FILE_SYSTEM_PREFIX_LEN): Renamed from
FILESYSTEM_PREFIX_LEN.  All uses changed.

20 years ago*** empty log message ***
Jim Meyering [Wed, 30 Jun 2004 22:35:51 +0000 (22:35 +0000)]
*** empty log message ***

20 years ago(EXTRA_DIST): Add .x-sc_file_system.
Jim Meyering [Wed, 30 Jun 2004 22:35:46 +0000 (22:35 +0000)]
(EXTRA_DIST): Add .x-sc_file_system.

20 years agoUse "file system" rather than "filesystem" in comments.
Jim Meyering [Wed, 30 Jun 2004 22:33:40 +0000 (22:33 +0000)]
Use  "file system" rather than "filesystem" in comments.

20 years ago.
Jim Meyering [Wed, 30 Jun 2004 22:33:16 +0000 (22:33 +0000)]
.

20 years ago(usage, main): Output "file system" rather than "filesystem".
Jim Meyering [Wed, 30 Jun 2004 22:31:43 +0000 (22:31 +0000)]
(usage, main): Output "file system" rather than "filesystem".
(long_options, usage): Rename "--filesystem" to
"--file-system".  But keep the old name around, for compatibility reasons.

20 years ago(usage, main): Output "file system" rather than "filesystem".
Jim Meyering [Wed, 30 Jun 2004 22:31:43 +0000 (22:31 +0000)]
(usage, main): Output "file system" rather than "filesystem".

20 years ago(sc_file_system): New target.
Jim Meyering [Wed, 30 Jun 2004 22:30:44 +0000 (22:30 +0000)]
(sc_file_system): New target.
(syntax-check-rules): Add it.

20 years ago*** empty log message ***
Jim Meyering [Wed, 30 Jun 2004 22:30:03 +0000 (22:30 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Jim Meyering [Wed, 30 Jun 2004 22:17:51 +0000 (22:17 +0000)]
*** empty log message ***

20 years agoUse "file system" rather than "filesystem".
Jim Meyering [Wed, 30 Jun 2004 22:15:59 +0000 (22:15 +0000)]
Use "file system" rather than "filesystem".

20 years ago*** empty log message ***
Jim Meyering [Wed, 30 Jun 2004 22:09:36 +0000 (22:09 +0000)]
*** empty log message ***

20 years agoStandardize on "file system" rather
Jim Meyering [Wed, 30 Jun 2004 22:09:00 +0000 (22:09 +0000)]
Standardize on "file system" rather
than "filesystem", as POSIX prefers it with a space.

20 years ago.
Jim Meyering [Wed, 30 Jun 2004 18:42:27 +0000 (18:42 +0000)]
.

20 years ago Add support for --no-target-directory option.
Jim Meyering [Wed, 30 Jun 2004 18:42:12 +0000 (18:42 +0000)]
Add support for --no-target-directory option.

20 years ago(Common options, Target directory, cp
Jim Meyering [Wed, 30 Jun 2004 18:42:01 +0000 (18:42 +0000)]
(Common options, Target directory, cp
invocation, install invocation, mv invocation, ln invocation):
Likewise.
(link invocation): Explain how to rewrite link using ln now
that we have --no-target-directory.
(ln invocation): Explain that --no-target-directory subsumes
--no-dereference.
(unlink invocation): Modify wording to match new wording in
link invocation.

20 years ago*** empty log message ***
Jim Meyering [Wed, 30 Jun 2004 18:41:49 +0000 (18:41 +0000)]
*** empty log message ***

20 years agoAdd support for --no-target-directory option.
Jim Meyering [Wed, 30 Jun 2004 18:40:40 +0000 (18:40 +0000)]
Add support for --no-target-directory option.

(NO_TARGET_DIRECTORY_OPTION): New constant.
(long_options, usage, main): Add support for

20 years agoAdd support for --no-target-directory option.
Jim Meyering [Wed, 30 Jun 2004 18:39:42 +0000 (18:39 +0000)]
Add support for --no-target-directory option.

(NO_TARGET_DIRECTORY_OPTION): New constant.
(long_options, usage, main): Add support for
(enum): Sort values.

20 years agoAdd support for --no-target-directory option.
Jim Meyering [Wed, 30 Jun 2004 18:39:18 +0000 (18:39 +0000)]
Add support for --no-target-directory option.

(NO_TARGET_DIRECTORY_OPTION): New constant.
(long_options, usage, main): Add support for

20 years agoAdd support for --no-target-directory option.
Jim Meyering [Wed, 30 Jun 2004 18:38:24 +0000 (18:38 +0000)]
Add support for --no-target-directory option.

(NO_TARGET_DIRECTORY_OPTION): New constant.
(long_opts, usage, do_copy, main): Add support for

20 years ago*** empty log message ***
Jim Meyering [Tue, 29 Jun 2004 14:42:19 +0000 (14:42 +0000)]
*** empty log message ***

20 years ago(install invocation): Document --target-directory in synopsis, too.
Jim Meyering [Tue, 29 Jun 2004 14:41:51 +0000 (14:41 +0000)]
(install invocation): Document --target-directory in synopsis, too.

20 years ago*** empty log message ***
Jim Meyering [Tue, 29 Jun 2004 14:40:51 +0000 (14:40 +0000)]
*** empty log message ***

20 years agoAdd support for 'install --target-directory', an option
Jim Meyering [Tue, 29 Jun 2004 14:40:47 +0000 (14:40 +0000)]
Add support for 'install --target-directory', an option
that has been documented for years but not implemented (!).

(TARGET_DIRECTORY_OPTION): New var.
(long_options, main, usage): Add --target-directory.
(target_directory_operand): New function, stolen from mv.c.
(main): Use it.  Check for -d and --target-directory.
Alter wording of diagnostics to match other programs.

20 years ago*** empty log message ***
Jim Meyering [Tue, 29 Jun 2004 14:38:36 +0000 (14:38 +0000)]
*** empty log message ***

20 years agoDon't let verbose-mode output from a subshell obscure actual differences.
Jim Meyering [Tue, 29 Jun 2004 14:38:32 +0000 (14:38 +0000)]
Don't let verbose-mode output from a subshell obscure actual differences.

Turn off command-echoing just before
invoking subshell, then turn it back on if VERBOSE=yes afterward.