platform/upstream/coreutils.git
20 years ago(Common options): Some programs don't reorder
Paul Eggert [Thu, 9 Sep 2004 00:29:09 +0000 (00:29 +0000)]
(Common options): Some programs don't reorder
options.
(tr invocation, echo invocation, printf invocation, test invocation,
expr invocation, basename invocation, chroot invocation,
nice invocation, nohup invocation, seq invocation):
This program doesn't reorder options.
(tr invocation): Mention --help, --version, --.
(echo invocation): Mention that -- isn't special.
(test invocation): Mention that the expression is optional,
and that test ! EXPR is like ! test EXPR.
(expr invocation): Mention --help, --version.

20 years agoFix "tr xy -z" bug.
Paul Eggert [Thu, 9 Sep 2004 00:28:44 +0000 (00:28 +0000)]
Fix "tr xy -z" bug.

20 years ago(fowler-1): New test case.
Paul Eggert [Thu, 9 Sep 2004 00:28:18 +0000 (00:28 +0000)]
(fowler-1): New test case.

20 years ago(main): Don't reorder options.
Paul Eggert [Thu, 9 Sep 2004 00:27:56 +0000 (00:27 +0000)]
(main): Don't reorder options.

20 years agoDocument that "tr xy -z" now works as per POSIX.
Paul Eggert [Thu, 9 Sep 2004 00:27:45 +0000 (00:27 +0000)]
Document that "tr xy -z" now works as per POSIX.
Sort the descriptions.

20 years agoUndo previous change.
Paul Eggert [Wed, 8 Sep 2004 23:07:04 +0000 (23:07 +0000)]
Undo previous change.

20 years agosort -u versus sort | uniq.
Paul Eggert [Wed, 8 Sep 2004 19:29:41 +0000 (19:29 +0000)]
sort -u versus sort | uniq.

20 years ago(sort invocation): Add remarks about sort -u versus sort | uniq.
Paul Eggert [Wed, 8 Sep 2004 19:29:18 +0000 (19:29 +0000)]
(sort invocation): Add remarks about sort -u versus sort | uniq.
Prompted by a question from Andrew Noymer.

20 years agoc-strtod.c sets LC_ALL, not LC_NUMERIC.
Paul Eggert [Wed, 8 Sep 2004 17:02:01 +0000 (17:02 +0000)]
c-strtod.c sets LC_ALL, not LC_NUMERIC.

20 years ago(C_STRTOD): Set LC_ALL to "C", not just LC_NUMERIC, to avoid the
Paul Eggert [Wed, 8 Sep 2004 17:00:24 +0000 (17:00 +0000)]
(C_STRTOD): Set LC_ALL to "C", not just LC_NUMERIC, to avoid the
unlikely possibility of mixed locales screwing things up.

20 years agoFix "touch -- MMDDhhmm file" bug.
Paul Eggert [Tue, 7 Sep 2004 06:23:39 +0000 (06:23 +0000)]
Fix "touch -- MMDDhhmm file" bug.

20 years agoTest for "touch -- MMDDmm file" bug. Also, set
Paul Eggert [Tue, 7 Sep 2004 06:23:09 +0000 (06:23 +0000)]
Test for "touch -- MMDDmm file" bug.  Also, set
_POSIX2_VERSION=199209 and POSIXLY_CORRECT=1 so that it's
a better test for obsolescent features.

20 years agoDocument "touch" POSIX-conformance fix.
Paul Eggert [Tue, 7 Sep 2004 06:22:13 +0000 (06:22 +0000)]
Document "touch" POSIX-conformance fix.

20 years ago(main): Fix POSIX-conformance bug: "touch --
Paul Eggert [Tue, 7 Sep 2004 06:21:46 +0000 (06:21 +0000)]
(main): Fix POSIX-conformance bug: "touch --
MMDDhhmm file" must be treated like "touch MMDDhhmm file" when
conforming to pre-2001 POSIX.

20 years agoEmulate Solaris 8 "sort -y" better.
Paul Eggert [Tue, 7 Sep 2004 05:09:48 +0000 (05:09 +0000)]
Emulate Solaris 8 "sort -y" better.

20 years ago(main): Emulate Solaris 8 and 9 "sort -y", so that
Paul Eggert [Tue, 7 Sep 2004 05:09:24 +0000 (05:09 +0000)]
(main): Emulate Solaris 8 and 9 "sort -y", so that
"sort -y abc" is like "sort abc" whereas "sort -y 100" is like
plain "sort".

20 years agoAdd NEWS item for "od" changes.
Paul Eggert [Mon, 6 Sep 2004 07:49:21 +0000 (07:49 +0000)]
Add NEWS item for "od" changes.

20 years agoSeveral "od" changes for POSIX and FreeBSD compatibility.
Paul Eggert [Mon, 6 Sep 2004 07:49:06 +0000 (07:49 +0000)]
Several "od" changes for POSIX and FreeBSD compatibility.

20 years agoSeveral od changes for POSIX and FreeBSD compatibility.
Paul Eggert [Mon, 6 Sep 2004 07:47:21 +0000 (07:47 +0000)]
Several od changes for POSIX and FreeBSD compatibility.

20 years ago(od invocation): Several changes for POSIX
Paul Eggert [Mon, 6 Sep 2004 07:47:04 +0000 (07:47 +0000)]
(od invocation): Several changes for POSIX
and FreeBSD compatibility.  Add support for XSI syntax
(POSIX 1003.1-2004).  Rename -s[N] to -S N.  Remove documentation
for -h.  -i is now -t dI (not d2) and -l is now -t dL (not d4).

20 years agoSeveral changes for POSIX and FreeBSD compatibility.
Paul Eggert [Mon, 6 Sep 2004 07:46:43 +0000 (07:46 +0000)]
Several changes for POSIX and FreeBSD compatibility.
(COMMON_SHORT_OPTIONS): Add -B, -D, -e, -F, -H, -I, -L, -O, -s, -X.
(long_options, main): --strings is now -S, not -s.
(usage): Reflect the usage changes.
(parse_old_offset): Do not issue a diagnostic on failure;
callers now do this as necessary.
(main): Support POSIX syntax.  Remove unused case 0 from getopt_long.
Add support for new short options (many undocumented) for
compatibility with FreeBSD.  Remove FIXME for -s; it's now
POSIX-compatible.  Default format is now oS, not o2.

20 years agoImprove quoting doc.
Paul Eggert [Mon, 6 Sep 2004 01:03:29 +0000 (01:03 +0000)]
Improve quoting doc.

20 years ago(String tests): Improve quality of warning about
Paul Eggert [Mon, 6 Sep 2004 01:03:20 +0000 (01:03 +0000)]
(String tests): Improve quality of warning about
quoting strings for the shell.

20 years agoSort options in usage message.
Paul Eggert [Mon, 6 Sep 2004 01:00:03 +0000 (01:00 +0000)]
Sort options in usage message.

20 years agoStty option-parsing fixes.
Paul Eggert [Sun, 5 Sep 2004 07:28:11 +0000 (07:28 +0000)]
Stty option-parsing fixes.

20 years ago(recover_mode): Arg is now char const *, not char *.
Paul Eggert [Sun, 5 Sep 2004 07:27:51 +0000 (07:27 +0000)]
(recover_mode): Arg is now char const *, not char *.
(main): Use STDIN_FILENO, not 0.
Simplify option-parsing code a tad.

20 years agoCheck for the fixed stty option-parsing bugs.
Paul Eggert [Sun, 5 Sep 2004 07:22:21 +0000 (07:22 +0000)]
Check for the fixed stty option-parsing bugs.

20 years ago(valid_options): Remove.
Paul Eggert [Sun, 5 Sep 2004 07:21:42 +0000 (07:21 +0000)]
(valid_options): Remove.
(main): Fix some bugs in handling invalid option-combinations
like "stty -F".

20 years agoRegenerate.
Paul Eggert [Sun, 5 Sep 2004 07:11:47 +0000 (07:11 +0000)]
Regenerate.

20 years agoMinor stat.c patches from Pozsar Balazs for GNU/Linux.
Paul Eggert [Fri, 3 Sep 2004 21:59:03 +0000 (21:59 +0000)]
Minor stat.c patches from Pozsar Balazs for GNU/Linux.

20 years ago(HAVE_STRUCT_STATXFS_F_TYPE): Fix typo that prevented
Paul Eggert [Fri, 3 Sep 2004 21:58:36 +0000 (21:58 +0000)]
(HAVE_STRUCT_STATXFS_F_TYPE): Fix typo that prevented
it from ever being nonzero.  Reported by Pozsar Balazs in:
http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00189.html
(human_fstype): Add ramfs, squashfs, sysfs.
Reported by Pozsar Balazs in:
http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00188.html
(human_fstype): Return char const *, not char *.
Simplify internals a bit, and avoid casts.

20 years agodd minor cleanup for conversions
Paul Eggert [Fri, 3 Sep 2004 08:11:52 +0000 (08:11 +0000)]
dd minor cleanup for conversions

20 years ago(usage): "alternated EBCDIC" -> "alternate EBCDIC".
Paul Eggert [Fri, 3 Sep 2004 08:11:34 +0000 (08:11 +0000)]
(usage): "alternated EBCDIC" -> "alternate EBCDIC".
(bit_count): Remove.  All uses changed to....
(multiple_bits_set): New function.
(scanargs): Use it, and check separately for each set of
incompatible options, to improve diagnostics.
(MX): Remove.
(apply_translations): Move checks for incompatible options
to scanargs, so that they're done consistently.

20 years agodd conversion option cleanup.
Paul Eggert [Fri, 3 Sep 2004 08:01:21 +0000 (08:01 +0000)]
dd conversion option cleanup.

20 years ago(dd invocation): Specify which conversion options
Paul Eggert [Fri, 3 Sep 2004 08:00:48 +0000 (08:00 +0000)]
(dd invocation): Specify which conversion options
are mutually exclusive.  Give a bit more detail about ascii,
ebcdic, and ibm conversions.

20 years agoOutput correct errno-related diagnostic on "paste" I/O errors.
Paul Eggert [Fri, 3 Sep 2004 01:35:50 +0000 (01:35 +0000)]
Output correct errno-related diagnostic on "paste" I/O errors.
Improve diet libc port.

20 years agoOutput correct errno-related diagnostic on "paste" I/O errors.
Paul Eggert [Fri, 3 Sep 2004 01:35:33 +0000 (01:35 +0000)]
Output correct errno-related diagnostic on "paste" I/O errors.
(write_error, xputchar): New functions.
(paste_parallel): Use correct errno value after input error.
(paste_parallel, paste_serial): Report errno value after output error.

20 years ago(paste_parallel): Improve replacement for ENDLIST and CLOSED.
Paul Eggert [Fri, 3 Sep 2004 01:23:15 +0000 (01:23 +0000)]
(paste_parallel): Improve replacement for ENDLIST and CLOSED.

20 years agoPort to diet libc.
Paul Eggert [Thu, 2 Sep 2004 23:59:52 +0000 (23:59 +0000)]
Port to diet libc.

20 years ago(FTSENT): Use "unsigned short int" rather than the unportable "u_short".
Paul Eggert [Thu, 2 Sep 2004 23:57:30 +0000 (23:57 +0000)]
(FTSENT): Use "unsigned short int" rather than the unportable "u_short".

20 years ago(fts_stat, fts_open, fts_read): Use "unsigned short int"
Paul Eggert [Thu, 2 Sep 2004 23:56:59 +0000 (23:56 +0000)]
(fts_stat, fts_open, fts_read): Use "unsigned short int"
rather than the unportable "u_short", and similarly for u_int.

20 years ago(dummy_closed, CLOSED, dummy_endlist, ENDLIST): Remove;
Paul Eggert [Thu, 2 Sep 2004 23:56:42 +0000 (23:56 +0000)]
(dummy_closed, CLOSED, dummy_endlist, ENDLIST): Remove;
it's not portable C to assume FILE is a complete type.
(paste_parallel): Use null instead of ENDLIST, and an explicit
boolean instead of CLOSED.

20 years agoFix infloop-3 to match POSIX.
Paul Eggert [Tue, 24 Aug 2004 07:39:17 +0000 (07:39 +0000)]
Fix infloop-3 to match POSIX.
Add blanks-1 through blanks-13.

20 years ago(add_tab_stop): Renamed from add_tabstop. All uses changed.
Paul Eggert [Tue, 24 Aug 2004 07:38:49 +0000 (07:38 +0000)]
(add_tab_stop): Renamed from add_tabstop.  All uses changed.
(parse_tab_stop): Renamed from parse_tabstop.  All uses changed.
(validate_tab_stop): Renamed from validate_tabstop.  All uses changed.
(next_file, main): Check fclose against 0, not EOF.
(unexpand): Remove unnecessary casts.
Add another loop nesting level, for lines, so that per-line variables
are initialized cleanly.
Revamp tab checking.  Check for write error immediately, rather
than just once at the end of the program.
(TAB_STOP_SENTINEL): Remove.
(tab_size): Now size_t, not uintmax_t, since we need to store
the sequences of blanks.
(max_column_width): New var.
(usage): Say "blank" where POSIX requires this.
(add_tab_stop): Calculate maximum column width.
(unexpand): Store the pending blanks, instead of merely counting them.
Follow POSIX's rules about -a requiring two blanks before a tab stop.
Get rid of internal label and goto.

20 years agoRevamp to resemble the new unexpand.c better.
Paul Eggert [Tue, 24 Aug 2004 07:38:04 +0000 (07:38 +0000)]
Revamp to resemble the new unexpand.c better.
(usage): -i does not convert tabs after non-tabs.
(add_tab_stop): Renamed from add_tabstop.  All uses changed.
(parse_tab_stop): Renamed from parse_tabstop.  All uses changed.
(validate_tab_stop): Renamed from validate_tabstop.  All uses changed.
(next_file, main): Check fclose against 0, not EOF.
(expand): Remove unnecessary casts.
Add another loop nesting level, for lines, so that per-line variables
are initialized cleanly.
Revamp tab checking.  Check for write error immediately, rather
than just once at the end of the program.

20 years agoStandardize on "tab stop" (the POSIX usage)
Paul Eggert [Tue, 24 Aug 2004 07:37:28 +0000 (07:37 +0000)]
Standardize on "tab stop" (the POSIX usage)
rather than "tabstop".
(unexpand invocation): Use "blank" rather than "space" when
POSIX requires "blank".  Define "blank".  Initial blanks are
converted even if there's just one.  For -a, convert two or
more blanks only if they occur just before a tab stop.

20 years agoPOSIX-conformance fixes for "expand" and "unexpand".
Paul Eggert [Tue, 24 Aug 2004 07:36:36 +0000 (07:36 +0000)]
POSIX-conformance fixes for "expand" and "unexpand".

20 years agoSync from gnulib.
Paul Eggert [Fri, 20 Aug 2004 02:29:42 +0000 (02:29 +0000)]
Sync from gnulib.

20 years agoRegenerate.
Paul Eggert [Fri, 20 Aug 2004 02:12:59 +0000 (02:12 +0000)]
Regenerate.

20 years agoSync getopt from gnulib.
Paul Eggert [Fri, 20 Aug 2004 02:10:15 +0000 (02:10 +0000)]
Sync getopt from gnulib.

20 years agoAdd getopt_.h, getopt_int.h.
Paul Eggert [Fri, 20 Aug 2004 02:09:41 +0000 (02:09 +0000)]
Add getopt_.h, getopt_int.h.

20 years agoAdd support for "chown : file" and the like.
Paul Eggert [Thu, 19 Aug 2004 20:07:20 +0000 (20:07 +0000)]
Add support for "chown : file" and the like.
Also, fix a regression and some memory leaks.

20 years agoRegenerate.
Paul Eggert [Thu, 19 Aug 2004 20:06:22 +0000 (20:06 +0000)]
Regenerate.

20 years ago(chown invocation): Fix synopsis:
Paul Eggert [Thu, 19 Aug 2004 20:05:52 +0000 (20:05 +0000)]
(chown invocation): Fix synopsis:
group must always be preceded by separator.
"chown : file" and "chown '' file" don't change the owner or group.
Update the explanation of what happens to the set-user-ID or
set-group-ID bits, e.g., they sometimes are not cleared if they
denote mandatory locking.  Change "find"-oriented examples to use
chown -h.

20 years agoDon't use <alloca.h>, so that we don't use alloca on
Paul Eggert [Thu, 19 Aug 2004 20:04:42 +0000 (20:04 +0000)]
Don't use <alloca.h>, so that we don't use alloca on
strings on unbounded length.  alloca's performance benefits aren't
that important here.
(V_STRDUP): Remove.
(parse_with_separator): New function, with most of the internals
of the old parse_user_spec.  Allow user to omit both user and group,
for compatibility with FreeBSD.
Clone only the user name, not the entire spec.
Do not set *uid, *gid unless entirely successful.
Avoid memory leak in some failing cases.
Fix regression for USER.GROUP reported by Dmitry V. Levin in
<http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00102.html>
(parse_user_spec): Rewrite to use parse_with_separator.

20 years agoNew file, partly taken from
Paul Eggert [Thu, 19 Aug 2004 20:04:21 +0000 (20:04 +0000)]
New file, partly taken from
Dmitry V. Levin's suggestion in
<http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00102.html>

20 years ago(TESTS): Add separator.
Paul Eggert [Thu, 19 Aug 2004 20:04:02 +0000 (20:04 +0000)]
(TESTS): Add separator.

20 years agoTest "chgrp '' file".
Paul Eggert [Thu, 19 Aug 2004 20:03:48 +0000 (20:03 +0000)]
Test "chgrp '' file".

20 years ago(usage): "chown '' file" is now allowed.
Paul Eggert [Thu, 19 Aug 2004 20:03:26 +0000 (20:03 +0000)]
(usage): "chown '' file" is now allowed.
(main): Do not set user name to the empty string if the group
name is null.

20 years ago(describe_change): Describe changes to -1:-1
Paul Eggert [Thu, 19 Aug 2004 20:03:11 +0000 (20:03 +0000)]
(describe_change): Describe changes to -1:-1
without using "to OWNERSHIP" phrase.

20 years ago(parse_group): Return gid_t rather than storing it
Paul Eggert [Thu, 19 Aug 2004 20:02:46 +0000 (20:02 +0000)]
(parse_group): Return gid_t rather than storing it
through a pointer.  Treat "chgrp '' file" as a no-op change,
as FreeBSD does.
(main): Set chopt.group_name to NULL if the group is the empty
string.

20 years ago"chown : file", "chown '' file", and "chgrp '' file" now
Paul Eggert [Thu, 19 Aug 2004 20:02:07 +0000 (20:02 +0000)]
"chown : file", "chown '' file", and "chgrp '' file" now
succeed without changing the uid and gid, like FreeBSD.

20 years agoAdd fts.h, search.h.
Paul Eggert [Wed, 18 Aug 2004 20:48:50 +0000 (20:48 +0000)]
Add fts.h, search.h.

20 years agoAdd .kludge-stamp.
Paul Eggert [Wed, 18 Aug 2004 20:48:35 +0000 (20:48 +0000)]
Add .kludge-stamp.

20 years ago* coreutils.texi (printf invocation): Clarify "printf".
Paul Eggert [Wed, 18 Aug 2004 20:22:58 +0000 (20:22 +0000)]
* coreutils.texi (printf invocation): Clarify "printf".

20 years ago(printf invocation): Clarify how "printf" is
Paul Eggert [Wed, 18 Aug 2004 20:22:32 +0000 (20:22 +0000)]
(printf invocation): Clarify how "printf" is
supposed to work with extra arguments, missing arguments, etc.

20 years agoRegenerate.
Paul Eggert [Wed, 11 Aug 2004 23:47:29 +0000 (23:47 +0000)]
Regenerate.

20 years agoFurther fix for -d regression.
Paul Eggert [Wed, 11 Aug 2004 23:41:44 +0000 (23:41 +0000)]
Further fix for -d regression.

20 years agoFix typo: missing ).
Paul Eggert [Wed, 11 Aug 2004 22:30:23 +0000 (22:30 +0000)]
Fix typo: missing ).

20 years agoobstack fixes
Paul Eggert [Wed, 11 Aug 2004 22:26:23 +0000 (22:26 +0000)]
obstack fixes

20 years agominor porting fixes (e.g., obstack)
Paul Eggert [Wed, 11 Aug 2004 22:26:17 +0000 (22:26 +0000)]
minor porting fixes (e.g., obstack)

20 years ago(gl_PREREQ_OBSTACK): Require
Paul Eggert [Wed, 11 Aug 2004 22:24:57 +0000 (22:24 +0000)]
(gl_PREREQ_OBSTACK): Require
gl_AC_HEADER_INTTYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T.

20 years agoDo not include error.h. (merge from gnulib).
Paul Eggert [Wed, 11 Aug 2004 22:24:25 +0000 (22:24 +0000)]
Do not include error.h.  (merge from gnulib).

20 years agoInclude <inttypes.h> and <stdint.h> if available.
Paul Eggert [Wed, 11 Aug 2004 22:24:14 +0000 (22:24 +0000)]
Include <inttypes.h> and <stdint.h> if available.
(union fooround): Use uintmax_t, not long int.
The rest is a merge from libc:
[defined _LIBC]: Include <shlib-compat.h>.
(_obstack) [defined _LIBC]: Remove after 2.3.4.

20 years ago(settime): Recode to avoid warning with Sun Forte C 6U2.
Paul Eggert [Wed, 11 Aug 2004 22:24:04 +0000 (22:24 +0000)]
(settime): Recode to avoid warning with Sun Forte C 6U2.

20 years ago(O_DIRECTORY): Define to 0 if the system doesn't define.
Paul Eggert [Wed, 11 Aug 2004 22:23:54 +0000 (22:23 +0000)]
(O_DIRECTORY): Define to 0 if the system doesn't define.

20 years agoTest for the -d regression.
Paul Eggert [Wed, 11 Aug 2004 21:52:17 +0000 (21:52 +0000)]
Test for the -d regression.

20 years agoTest for the -d regression.
Paul Eggert [Wed, 11 Aug 2004 21:51:57 +0000 (21:51 +0000)]
Test for the -d regression.

20 years ago* src/install.c (main): Fix -d regression
Paul Eggert [Wed, 11 Aug 2004 21:44:49 +0000 (21:44 +0000)]
* src/install.c (main): Fix -d regression

20 years ago(main): Fix -d regression introduced with
Paul Eggert [Wed, 11 Aug 2004 21:44:36 +0000 (21:44 +0000)]
(main): Fix -d regression introduced with
--target-directory support at 2004-06-25.

20 years agoFix porting problem to Reliant Unix.
Paul Eggert [Wed, 11 Aug 2004 17:53:50 +0000 (17:53 +0000)]
Fix porting problem to Reliant Unix.

20 years ago(WIDE_CHAR_SUPPORT): Don't set to 1 if missing
Paul Eggert [Wed, 11 Aug 2004 17:53:34 +0000 (17:53 +0000)]
(WIDE_CHAR_SUPPORT): Don't set to 1 if missing
wmemchr or wmemcpy.  Problem reported by Robert Dahlem
for Reliant Unix 5.43.

20 years ago(_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.
Paul Eggert [Wed, 11 Aug 2004 17:53:16 +0000 (17:53 +0000)]
(_AC_LIBOBJ_FNMATCH): Check for wmemchr and wmemcpy.

20 years ago(copy_internal): When preserving links, unlink
Paul Eggert [Wed, 11 Aug 2004 17:19:25 +0000 (17:19 +0000)]
(copy_internal): When preserving links, unlink
a destination with link count greater than one.  This is so
that commands like "cp -a" don't get confused when copying into
a destination that already contains many hard links.

20 years agoFix cp -a confusion bug.
Paul Eggert [Wed, 11 Aug 2004 17:19:07 +0000 (17:19 +0000)]
Fix cp -a confusion bug.

20 years agoConvert to UTF-8.
Paul Eggert [Tue, 10 Aug 2004 22:50:58 +0000 (22:50 +0000)]
Convert to UTF-8.

20 years agoConvert to UTF-8.
Paul Eggert [Tue, 10 Aug 2004 22:47:08 +0000 (22:47 +0000)]
Convert to UTF-8.

20 years agoFix typo in previous log entry.
Paul Eggert [Tue, 10 Aug 2004 22:09:11 +0000 (22:09 +0000)]
Fix typo in previous log entry.

20 years ago(usage, tee): "tee -" writes to standard output, not
Paul Eggert [Tue, 10 Aug 2004 22:08:58 +0000 (22:08 +0000)]
(usage, tee): "tee -" writes to standard output, not
to a file named "-".

20 years ago(die, xfopen, mergefps, first_same_file, merge):
Paul Eggert [Tue, 10 Aug 2004 22:08:09 +0000 (22:08 +0000)]
(die, xfopen, mergefps, first_same_file, merge):
A null file arg means standard output.
(main): "-o -" means to write to a file named "-",
not to standard output.

20 years ago(usage): "-" is an operand, not an option.
Paul Eggert [Tue, 10 Aug 2004 22:07:52 +0000 (22:07 +0000)]
(usage): "-" is an operand, not an option.

20 years ago(Common options): Clarify that "-" means
Paul Eggert [Tue, 10 Aug 2004 22:07:31 +0000 (22:07 +0000)]
(Common options): Clarify that "-" means
stdin/stdout only when it is an operand, not when it is an
option-argument.
(shred invocation): "shred -- -" is equivalent to "shred -",
not to "shred ./-".
(tee invocation): "tee -" means to copy (again) to stdout.

20 years agoPOSIX-conformance fixes for "-" used as an operand.
Paul Eggert [Tue, 10 Aug 2004 22:06:52 +0000 (22:06 +0000)]
POSIX-conformance fixes for "-" used as an operand.

20 years ago"sort -o -", "shred -", "tee -" POSIX-conformance fixes.
Paul Eggert [Tue, 10 Aug 2004 22:06:28 +0000 (22:06 +0000)]
"sort -o -", "shred -", "tee -" POSIX-conformance fixes.

20 years agoDocument "sort -o -" and "tee -" POSIX-conformance fixes.
Paul Eggert [Tue, 10 Aug 2004 22:05:47 +0000 (22:05 +0000)]
Document "sort -o -" and "tee -" POSIX-conformance fixes.

20 years agoFix install.c int->bool conversion bug.
Paul Eggert [Tue, 10 Aug 2004 20:32:32 +0000 (20:32 +0000)]
Fix install.c int->bool conversion bug.

20 years ago(change_timestamps): Fix int->bool conversion
Paul Eggert [Tue, 10 Aug 2004 20:32:19 +0000 (20:32 +0000)]
(change_timestamps): Fix int->bool conversion
bugs introduced on 2004-07-29.

20 years agoRegenerate.
Paul Eggert [Tue, 10 Aug 2004 06:54:15 +0000 (06:54 +0000)]
Regenerate.

20 years agoSync with gnulib.
Paul Eggert [Tue, 10 Aug 2004 05:43:11 +0000 (05:43 +0000)]
Sync with gnulib.

20 years agoreadlink.c cleanup
Paul Eggert [Mon, 9 Aug 2004 23:40:58 +0000 (23:40 +0000)]
readlink.c cleanup