platform/upstream/coreutils.git
22 years agoAdd support for _POSIX2_VERSION, which lets you pick which POSIX
Jim Meyering [Sat, 16 Feb 2002 09:04:30 +0000 (09:04 +0000)]
Add support for _POSIX2_VERSION, which lets you pick which POSIX
version you want the utilities to conform to.  Remove warnings about
failure to conform to a future POSIX version.

(ISO_8601_OPTION): Remove; no longer needed.
All uses changed to back to the corresponding short options.
(short_options): Remove; no longer needed.
(COMMON_SHORT_OPTIONS): New macro.

(usage): Document only the intersection of the
old and new behaviors, to encourage portability.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard.  Do not warn of obsolete options.

22 years agoAdd support for _POSIX2_VERSION, which lets you pick which POSIX
Jim Meyering [Sat, 16 Feb 2002 09:03:12 +0000 (09:03 +0000)]
Add support for _POSIX2_VERSION, which lets you pick which POSIX
version you want the utilities to conform to.  Remove warnings about
failure to conform to a future POSIX version.

(usage): Document only the intersection of the
old and new behaviors, to encourage portability.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard.  Do not warn of obsolete options.

22 years ago*** empty log message ***
Jim Meyering [Sat, 16 Feb 2002 08:59:10 +0000 (08:59 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 16 Feb 2002 08:58:20 +0000 (08:58 +0000)]
*** empty log message ***

22 years agoUse `head -n 150', not `head -150'.
Jim Meyering [Sat, 16 Feb 2002 08:55:56 +0000 (08:55 +0000)]
Use `head -n 150', not `head -150'.

22 years ago*** empty log message ***
Jim Meyering [Sat, 16 Feb 2002 08:55:02 +0000 (08:55 +0000)]
*** empty log message ***

22 years agoUse `head -n 7', not `head -7'.
Jim Meyering [Sat, 16 Feb 2002 08:54:52 +0000 (08:54 +0000)]
Use `head -n 7', not `head -7'.

22 years ago.
Jim Meyering [Sat, 16 Feb 2002 08:26:04 +0000 (08:26 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 16 Feb 2002 08:23:43 +0000 (08:23 +0000)]
*** empty log message ***

22 years ago(jm_PREREQ_POSIXVER): New macro.
Jim Meyering [Sat, 16 Feb 2002 08:23:10 +0000 (08:23 +0000)]
(jm_PREREQ_POSIXVER): New macro.
(jm_PREREQ): Use it.

22 years agoDocument _POSIX2_VERSION.
Jim Meyering [Sat, 16 Feb 2002 08:22:32 +0000 (08:22 +0000)]
Document _POSIX2_VERSION.

22 years ago*** empty log message ***
Jim Meyering [Sat, 16 Feb 2002 08:21:44 +0000 (08:21 +0000)]
*** empty log message ***

22 years agofix typo
Jim Meyering [Sat, 16 Feb 2002 08:20:34 +0000 (08:20 +0000)]
fix typo

22 years agoAdd support for _POSIX2_VERSION, which lets you pick which POSIX
Jim Meyering [Sat, 16 Feb 2002 08:16:26 +0000 (08:16 +0000)]
Add support for _POSIX2_VERSION, which lets you pick which POSIX
version you want the utilities to conform to.  Remove warnings about
failure to conform to a future POSIX version.

* NEWS, doc/coreutils.texi: Document _POSIX2_VERSION.
* doc/coreutils.texi (Standards Conformance): New section.

22 years ago*** empty log message ***
Jim Meyering [Sat, 16 Feb 2002 08:14:53 +0000 (08:14 +0000)]
*** empty log message ***

22 years ago(libfetish_a_SOURCES): Add posixver.c and posixver.h.
Jim Meyering [Sat, 16 Feb 2002 08:14:09 +0000 (08:14 +0000)]
(libfetish_a_SOURCES): Add posixver.c and posixver.h.

22 years agonew file, from Paul Eggert
Jim Meyering [Sat, 16 Feb 2002 08:13:08 +0000 (08:13 +0000)]
new file, from Paul Eggert

22 years ago*** empty log message ***
Jim Meyering [Sat, 16 Feb 2002 08:12:01 +0000 (08:12 +0000)]
*** empty log message ***

22 years agoInclude posixver.h.
Jim Meyering [Sat, 16 Feb 2002 08:11:50 +0000 (08:11 +0000)]
Include posixver.h.
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(shortopts): Remove; no longer needed.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard.  Do not warn of obsolete options.

22 years agoInclude posixver.h.
Jim Meyering [Sat, 16 Feb 2002 08:10:10 +0000 (08:10 +0000)]
Include posixver.h.
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(main, parse_obsolescent_option): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard.  Do not warn of obsolete options.

22 years agoInclude posixver.h.
Jim Meyering [Sat, 16 Feb 2002 08:04:12 +0000 (08:04 +0000)]
Include posixver.h.
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(shortopts): Remove; no longer needed.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard.  Do not warn of obsolete options.

22 years agoInclude posixver.h.
Jim Meyering [Sat, 16 Feb 2002 08:00:46 +0000 (08:00 +0000)]
Include posixver.h.
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(shortopts): Remove; no longer needed.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard.  Do not warn of obsolete options.

22 years ago(_POSIX2_VERSION, POSIX2_VERSION): Remove definitions.
Jim Meyering [Sat, 16 Feb 2002 07:47:48 +0000 (07:47 +0000)]
(_POSIX2_VERSION, POSIX2_VERSION): Remove definitions.
(OPTARG_POSIX, OBSOLETE_OPTION_WARNINGS): Likewise.

22 years agoInclude posixver.h.
Jim Meyering [Sat, 16 Feb 2002 07:44:20 +0000 (07:44 +0000)]
Include posixver.h.
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(short_options): Remove; no longer needed.
(COMMON_SHORT_OPTIONS): New macro.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard.  Do not warn of obsolete options.

22 years agoInclude posixver.h.
Jim Meyering [Sat, 16 Feb 2002 07:42:52 +0000 (07:42 +0000)]
Include posixver.h.
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(short_options): Remove; no longer needed.
(COMMON_SHORT_OPTIONS): New macro.
(SEP_STRING_OPTION): Remove; no longer needed.
All uses changed to back to the corresponding short options.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard.  Do not warn of obsolete options.

22 years agoInclude posixver.h.
Jim Meyering [Sat, 16 Feb 2002 07:39:17 +0000 (07:39 +0000)]
Include posixver.h.
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(main): Revert to previous behavior, except report
an error and exit if the obsolete syntax is used and if conforming
to the new standard.

22 years agoInclude posixver.h.
Jim Meyering [Sat, 16 Feb 2002 07:37:15 +0000 (07:37 +0000)]
Include posixver.h.
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(short_options): Remove; no longer needed.
(COMMON_SHORT_OPTIONS): New macro.
(STRINGS_OPTION, WIDTH_OPTION): Remove; no longer needed.
All uses changed to back to the corresponding short options.
(main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard.  Do not warn of obsolete options.

22 years agoInclude posixver.h.
Jim Meyering [Sat, 16 Feb 2002 07:31:27 +0000 (07:31 +0000)]
Include posixver.h.
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(main): Revert to previous behavior, except report
an error and exit if the obsolete syntax is used and if conforming
to the new standard.

22 years agoInclude posixver.h.
Jim Meyering [Sat, 16 Feb 2002 07:29:18 +0000 (07:29 +0000)]
Include posixver.h.
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
(shortopts): Remove; no longer needed.
(main): Revert to previous behavior, except report
an error and exit if the obsolete syntax is used and if conforming
to the new standard.

22 years ago.
Jim Meyering [Sat, 16 Feb 2002 07:22:32 +0000 (07:22 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Sat, 16 Feb 2002 07:22:17 +0000 (07:22 +0000)]
*** empty log message ***

22 years agoNew test for change of 2002-02-05.
Jim Meyering [Sat, 16 Feb 2002 07:22:09 +0000 (07:22 +0000)]
New test for change of 2002-02-05.

22 years ago(TESTS): Add split-a.
Jim Meyering [Sat, 16 Feb 2002 07:21:59 +0000 (07:21 +0000)]
(TESTS): Add split-a.

22 years agoChange 'split' to conform to POSIX. It now accepts an -a or
Jim Meyering [Fri, 15 Feb 2002 15:22:32 +0000 (15:22 +0000)]
Change 'split' to conform to POSIX.  It now accepts an -a or
--suffix-length option, and refuses to generate more files
than there are suffixes.

Document this.

22 years agofrom texinfo-4.0g
Jim Meyering [Fri, 15 Feb 2002 09:10:54 +0000 (09:10 +0000)]
from texinfo-4.0g

22 years ago.
Jim Meyering [Wed, 13 Feb 2002 13:59:39 +0000 (13:59 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Tue, 12 Feb 2002 15:46:40 +0000 (15:46 +0000)]
*** empty log message ***

22 years ago(DEFAULT_SUFFIX_LENGTH): Define constant.
Jim Meyering [Tue, 12 Feb 2002 15:46:34 +0000 (15:46 +0000)]
(DEFAULT_SUFFIX_LENGTH): Define constant.
(suffix_length): Use it here.
(usage): Use it here.

22 years agoInclude "dirname.h".
Jim Meyering [Tue, 12 Feb 2002 15:44:16 +0000 (15:44 +0000)]
Include "dirname.h".
(outbase): Now a global var.
(outfile_end): Remove.
(suffix_length): New var.
(shortopts, longopts, main): Add -a or --suffix-length.
(next_file_name): Implement -a.  Do not extend the suffix length.
Check for file names that are too long.
(main): Move outfile initialization to next_file_name.

(shortopts): Remove -v (a typo).

22 years ago*** empty log message ***
Jim Meyering [Tue, 12 Feb 2002 07:40:54 +0000 (07:40 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Tue, 12 Feb 2002 07:40:39 +0000 (07:40 +0000)]
*** empty log message ***

22 years ago(main): Output warnings only if OBSOLETE_OPTION_WARNINGS.
Jim Meyering [Tue, 12 Feb 2002 07:40:24 +0000 (07:40 +0000)]
(main): Output warnings only if OBSOLETE_OPTION_WARNINGS.

22 years ago.
Jim Meyering [Mon, 11 Feb 2002 23:27:05 +0000 (23:27 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Mon, 11 Feb 2002 23:26:20 +0000 (23:26 +0000)]
*** empty log message ***

22 years agoAdd more support for POSIX 1003.1-2001, which requires removal
Jim Meyering [Mon, 11 Feb 2002 23:25:34 +0000 (23:25 +0000)]
Add more support for POSIX 1003.1-2001, which requires removal
for support of obsolete "-DIGITS" option syntax in nice, and
which prohibits options with optional arguments like date's
-I option.

Document this.

22 years ago*** empty log message ***
Jim Meyering [Mon, 11 Feb 2002 23:23:48 +0000 (23:23 +0000)]
*** empty log message ***

22 years ago(main): Conform to POSIX 1003.1-2001 if
Jim Meyering [Mon, 11 Feb 2002 23:23:42 +0000 (23:23 +0000)]
(main): Conform to POSIX 1003.1-2001 if
POSIX2_VERSION says to, otherwise warn of obsolete usage if
OBSOLETE_OPTION_WARNINGS is nonzero and if not POSIXLY_CORRECT.

22 years agoAdd more support for POSIX 1003.1-2001, which requires removal
Jim Meyering [Mon, 11 Feb 2002 22:58:59 +0000 (22:58 +0000)]
Add more support for POSIX 1003.1-2001, which requires removal
for support of obsolete "-DIGITS" option syntax in nice, and
which prohibits options with optional arguments like date's
-I option.

(ISO_8601_OPTION): New enum value.
(long_options): Use it.
(short_options): New constant.

(usage): Document the change.

(main): Conform to POSIX 1003.1-2001 if
POSIX2_VERSION says to, otherwise warn of obsolete usage if
OBSOLETE_OPTION_WARNINGS is nonzero and if not POSIXLY_CORRECT.

22 years ago*** empty log message ***
Jim Meyering [Mon, 11 Feb 2002 21:45:02 +0000 (21:45 +0000)]
*** empty log message ***

22 years ago(usage): Describe %F, %g, %G, %P, and %R.
Jim Meyering [Mon, 11 Feb 2002 21:44:35 +0000 (21:44 +0000)]
(usage): Describe %F, %g, %G, %P, and %R.

22 years agoAdd more support for POSIX 1003.1-2001, which requires removal for
Jim Meyering [Mon, 11 Feb 2002 15:11:05 +0000 (15:11 +0000)]
Add more support for POSIX 1003.1-2001, which requires removal for
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.

22 years ago.
Jim Meyering [Mon, 11 Feb 2002 15:04:51 +0000 (15:04 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Mon, 11 Feb 2002 14:35:02 +0000 (14:35 +0000)]
*** empty log message ***

22 years agoUse `tail -n +2', rather than `tail +2'.
Jim Meyering [Mon, 11 Feb 2002 14:34:49 +0000 (14:34 +0000)]
Use `tail -n +2', rather than `tail +2'.

22 years ago*** empty log message ***
Jim Meyering [Mon, 11 Feb 2002 14:32:49 +0000 (14:32 +0000)]
*** empty log message ***

22 years agoFrom Bruno Haible
Jim Meyering [Mon, 11 Feb 2002 14:32:22 +0000 (14:32 +0000)]
From Bruno Haible
(print_esc): Call print_unicode_char with exit_on_error = false.

22 years ago*** empty log message ***
Jim Meyering [Mon, 11 Feb 2002 14:29:31 +0000 (14:29 +0000)]
*** empty log message ***

22 years ago2002-02-02 Paul Eggert <eggert@twinsun.com>
Jim Meyering [Mon, 11 Feb 2002 14:28:35 +0000 (14:28 +0000)]
2002-02-02  Paul Eggert  <eggert@twinsun.com>
    Bruno Haible  <bruno@clisp.org>

* unicodeio.c (unicode_to_mb): New function, extracted from
print_unicode_char. Call failure callback instead of error.
(fwrite_success_callback): New function.
(exit_failure_callback): New function.
(fallback_failure_callback): New function.
(print_unicode_char): Call unicode_to_mb.

22 years ago2002-02-02 Paul Eggert <eggert@twinsun.com>
Jim Meyering [Mon, 11 Feb 2002 14:28:09 +0000 (14:28 +0000)]
2002-02-02  Paul Eggert  <eggert@twinsun.com>
    Bruno Haible  <bruno@clisp.org>

* unicodeio.c (unicode_to_mb): New function, extracted from
print_unicode_char. Call failure callback instead of error.
(fwrite_success_callback): New function.
(exit_failure_callback): New function.
(fallback_failure_callback): New function.
(print_unicode_char): Call unicode_to_mb.

22 years ago.
Jim Meyering [Mon, 11 Feb 2002 14:13:30 +0000 (14:13 +0000)]
.

22 years ago*** empty log message ***
Jim Meyering [Mon, 11 Feb 2002 11:00:55 +0000 (11:00 +0000)]
*** empty log message ***

22 years ago(TESTS): Add head-pos.
Jim Meyering [Mon, 11 Feb 2002 11:00:46 +0000 (11:00 +0000)]
(TESTS): Add head-pos.

22 years ago*** empty log message ***
Jim Meyering [Mon, 11 Feb 2002 11:00:10 +0000 (11:00 +0000)]
*** empty log message ***

22 years ago(head_lines): If we have read too much data, try
Jim Meyering [Mon, 11 Feb 2002 11:00:00 +0000 (11:00 +0000)]
(head_lines): If we have read too much data, try
to seek back to the position we would have gotten to had we
been reading one byte at a time.  POSIX currently doesn't
require this, but it's easy to do and some software relies on it.

22 years agoNew file/test for the change of 2002-02-08.
Jim Meyering [Mon, 11 Feb 2002 10:55:51 +0000 (10:55 +0000)]
New file/test for the change of 2002-02-08.

22 years ago*** empty log message ***
Jim Meyering [Mon, 11 Feb 2002 08:37:00 +0000 (08:37 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Mon, 11 Feb 2002 08:35:10 +0000 (08:35 +0000)]
*** empty log message ***

22 years ago(unquote): Make comment a little clearer.
Jim Meyering [Mon, 11 Feb 2002 08:34:47 +0000 (08:34 +0000)]
(unquote): Make comment a little clearer.

22 years ago*** empty log message ***
Jim Meyering [Sun, 10 Feb 2002 21:04:12 +0000 (21:04 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sat, 2 Feb 2002 09:54:50 +0000 (09:54 +0000)]
*** empty log message ***

22 years ago(main): Prepend `warning: ' to the diagnostic, so it's
Jim Meyering [Sat, 2 Feb 2002 09:54:38 +0000 (09:54 +0000)]
(main): Prepend `warning: ' to the diagnostic, so it's
consistent with all of the other `... is obsolete...' diagnostics.

22 years agoAdd more support for POSIX 1003.1-2001, which requires removal for
Jim Meyering [Sat, 2 Feb 2002 09:53:26 +0000 (09:53 +0000)]
Add more support for POSIX 1003.1-2001, which requires removal for
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.

(usage): Document this.
(shortopts): New constant.
(main): Check for obsolete options.

22 years agoAdd more support for POSIX 1003.1-2001, which requires removal for
Jim Meyering [Sat, 2 Feb 2002 09:47:57 +0000 (09:47 +0000)]
Add more support for POSIX 1003.1-2001, which requires removal for
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.

(usage): Document this.
(shortopts): New constant.
(main): Check for obsolete options.

22 years agoAdd more support for POSIX 1003.1-2001, which requires removal for
Jim Meyering [Sat, 2 Feb 2002 09:40:50 +0000 (09:40 +0000)]
Add more support for POSIX 1003.1-2001, which requires removal for
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.

(usage): Document this.
(main): Check for obsolete options.
(shortopts): New constant.
(main): Use -1, not EOF, for getopt_long.

22 years agoAdd more support for POSIX 1003.1-2001, which requires removal for
Jim Meyering [Sat, 2 Feb 2002 09:37:12 +0000 (09:37 +0000)]
Add more support for POSIX 1003.1-2001, which requires removal for
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.

(main): Check for obsolete options.
(short_options): New constant.

22 years ago*** empty log message ***
Jim Meyering [Sat, 2 Feb 2002 09:35:52 +0000 (09:35 +0000)]
*** empty log message ***

22 years agoAdd more support for POSIX 1003.1-2001, which requires removal for
Jim Meyering [Sat, 2 Feb 2002 09:35:43 +0000 (09:35 +0000)]
Add more support for POSIX 1003.1-2001, which requires removal for
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.

(usage): Document it.
(main): Check for obsolete options.
(short_options): New constant.
(SEP_STRING_OPTION): New enum value.
(long_options): Use it.

22 years agoAdd more support for POSIX 1003.1-2001, which requires removal for
Jim Meyering [Sat, 2 Feb 2002 09:31:09 +0000 (09:31 +0000)]
Add more support for POSIX 1003.1-2001, which requires removal for
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.

(usage): Document it.
(main): Check for obsolete options.
(short_options): New constant.
New enum for long options.

22 years agoAdd more support for POSIX 1003.1-2001, which requires removal for
Jim Meyering [Sat, 2 Feb 2002 08:10:04 +0000 (08:10 +0000)]
Add more support for POSIX 1003.1-2001, which requires removal for
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.

(usage): Document it.
(main): Check for obsolete options.
(header_mode_option): New constant.

22 years agoAdd more support for POSIX 1003.1-2001, which requires removal for
Jim Meyering [Sat, 2 Feb 2002 07:58:50 +0000 (07:58 +0000)]
Add more support for POSIX 1003.1-2001, which requires removal for
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.

(main): Check for obsolete options.
(main): Fix bug: -- -N was treated as -N --.

22 years agoAdd more support for POSIX 1003.1-2001, which requires removal for
Jim Meyering [Sat, 2 Feb 2002 07:54:49 +0000 (07:54 +0000)]
Add more support for POSIX 1003.1-2001, which requires removal for
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.

(shortopts): New constant.
(main): Check for obsolete options.

22 years ago(OPTARG_POSIX, OBSOLETE_OPTION_WARNINGS): New macros.
Jim Meyering [Sat, 2 Feb 2002 00:06:50 +0000 (00:06 +0000)]
(OPTARG_POSIX, OBSOLETE_OPTION_WARNINGS): New macros.

22 years ago*** empty log message ***
Jim Meyering [Fri, 1 Feb 2002 23:47:28 +0000 (23:47 +0000)]
*** empty log message ***

22 years ago* src/shred.c: (VERBOSE_UPDATE): Update every 5 seconds, not every 10.
Jim Meyering [Fri, 1 Feb 2002 23:43:46 +0000 (23:43 +0000)]
* src/shred.c: (VERBOSE_UPDATE): Update every 5 seconds, not every 10.
(wipename): Quote file names only when necessary.
(main): Copy quoted string into malloc'd storage so it doesn't
get clobbered when using -u and --verbose.

Minor clean-up.
* src/shred.c:
Use `NULL' rather than `(time_t *) 0'.
(dopass): Use STREQ in place of strcmp.
Add parentheses around use of nested ternary operator.

22 years ago(VERBOSE_UPDATE): Now counts seconds, not bytes.
Jim Meyering [Fri, 1 Feb 2002 23:34:57 +0000 (23:34 +0000)]
(VERBOSE_UPDATE): Now counts seconds, not bytes.

(dopass): If verbose, output a line every VERBOSE_UPDATE seconds,
and suppress duplicate output lines.  Output a percentage as well
as a count of bytes.

Also, fix comment/code typo regarding how many bytes have been
written; this typo was harmless before, but is no longer harmless with
the above change in effect.

22 years ago(rm): Add a comment.
Jim Meyering [Fri, 1 Feb 2002 23:30:23 +0000 (23:30 +0000)]
(rm): Add a comment.

22 years agoAdd more support for POSIX 1003.1-2001, which requires removal for
Jim Meyering [Fri, 1 Feb 2002 16:31:55 +0000 (16:31 +0000)]
Add more support for POSIX 1003.1-2001, which requires removal for
support of obsolete "-N" option syntax in expand, head, fold,
split, tail, unexpand, uniq, and which prohibits options with
optional arguments in od and pr.

(parse_obsolescent_option, main): Likewise.

22 years ago(start_lines): Handle the case in which bytes_read is zero.
Jim Meyering [Fri, 1 Feb 2002 09:12:50 +0000 (09:12 +0000)]
(start_lines): Handle the case in which bytes_read is zero.

22 years ago*** empty log message ***
Jim Meyering [Mon, 28 Jan 2002 13:51:22 +0000 (13:51 +0000)]
*** empty log message ***

22 years ago(ac-check): Remove, now that we no longer have
Jim Meyering [Mon, 28 Jan 2002 13:50:50 +0000 (13:50 +0000)]
(ac-check): Remove, now that we no longer have
to duplicate that information.

22 years ago*** empty log message ***
Jim Meyering [Mon, 28 Jan 2002 10:10:33 +0000 (10:10 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Mon, 28 Jan 2002 10:09:08 +0000 (10:09 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Mon, 28 Jan 2002 10:08:38 +0000 (10:08 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Mon, 28 Jan 2002 06:30:41 +0000 (06:30 +0000)]
*** empty log message ***

22 years ago*** empty log message ***
Jim Meyering [Sun, 27 Jan 2002 07:53:45 +0000 (07:53 +0000)]
*** empty log message ***

22 years agotail -n +2 would perform an extra read after encountering EOF
Jim Meyering [Sun, 27 Jan 2002 07:53:37 +0000 (07:53 +0000)]
tail -n +2 would perform an extra read after encountering EOF
(start_lines): Detect EOF, inform caller.
(tail_lines): Upon EOF in start_lines, return immediately.

22 years agosplit a long line
Jim Meyering [Sat, 26 Jan 2002 22:04:00 +0000 (22:04 +0000)]
split a long line

22 years ago.
Jim Meyering [Sat, 26 Jan 2002 19:03:43 +0000 (19:03 +0000)]
.

22 years ago(jm_MACROS): Require autoconf-2.52g.
Jim Meyering [Sat, 26 Jan 2002 19:03:23 +0000 (19:03 +0000)]
(jm_MACROS): Require autoconf-2.52g.

22 years ago. TEXTUTILS-2_0_20
Jim Meyering [Sat, 26 Jan 2002 09:56:05 +0000 (09:56 +0000)]
.