[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Coreutils-announce] textutils-2.0.21 released
From: |
Jim Meyering |
Subject: |
[Coreutils-announce] textutils-2.0.21 released |
Date: |
Mon, 18 Feb 2002 14:47:37 +0100 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.2.50 (i686-pc-linux-gnu) |
I think we (mostly Paul :-) have found a good middle ground wrt POSIX2
conformance. Too many people objected to the new warnings, and there
are too many existing scripts that use the obsolete options.
Now, if you want POSIX2 conformance, you have to put e.g.,
_POSIX2_VERSION=200112 in your environment. But beware... I've just
recently fixed a problem in automake and reported one in config.guess
(both used `head -1'). If you set _POSIX2_VERSION=200112, using `head -1'
evokes a failure, not just a warning.
Thanks again, Paul.
And thanks to Bruno Haible for making the conversion
to gettext-0.11 very smooth.
Jim
--------
ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.21.tar.gz (2.6 MB)
ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.21.tar.bz2 (1.8 MB)
http://fetish.sf.net/textutils-2.0.21.tar.gz (2.6 MB)
http://fetish.sf.net/textutils-2.0.21.tar.bz2 (1.8 MB)
And here are xdelta-style diffs
ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.20-2.0.21.xdelta (292K
textutils-2.0.20-2.0.21.xdelta)
http://fetish.sf.net/textutils-2.0.20-2.0.21.xdelta (292K
textutils-2.0.20-2.0.21.xdelta)
Here are the MD5 and SHA1 signatures:
0a47650c72b292c33cf8f073479a9856 textutils-2.0.21.tar.gz
adab364a7d115c56cafe93689c1d3af7 textutils-2.0.21.tar.bz2
e0e3c99959be7051d878f4a2b22c40e6 textutils-2.0.20-2.0.21.xdelta
482155ccb89f742ac2861786e1173bd4e35aa6c8 textutils-2.0.21.tar.gz
016f918599cb24046e57fafa73fc2c4a06f556e2 textutils-2.0.21.tar.bz2
b1bd80344e48644e5a2f2a7157e4f2611934d0f7 textutils-2.0.20-2.0.21.xdelta
NEWS:
* split accepts new option -a or --suffix-length.
* split no longer generates longer suffixes than requested; instead, it reports
an error when suffixes are exhausted. POSIX requires this behavior.
* The _POSIX2_VERSION environment variable lets you select which version
of POSIX the utilities should conform to. Its default value is system
dependent. Set _POSIX2_VERSION=199209 to cause the utilities to support
obsolete usage like "sort +1".
* The following obsolete usages are no longer supported when conforming
to POSIX 1003.1-2001, which prohibits most digit-string options:
expand -N (instead, use expand -t N)
head -N (instead, use head -c N or head -n N)
fold -N (instead, use fold -w N)
split -N (instead, use split -l N)
tail -N (instead, use tail -c N or tail -n N)
unexpand -N (instead, use unexpand --first-only -t N)
uniq -N (instead, use uniq -f N)
The following obsolete usages (options without arguments) are no
longer supported when conforming to POSIX 1003.1-2001, which
prohibits most options with optional arguments:
od -s (instead, use od --strings)
od -w (instead, use od --width)
pr -S (instead, use pr --sep-string)
ChangeLog entries:
**********************************************************************
ChangeLog 2002/02/18 12:39:48 1.960
**********************************************************************
2002-02-18 Jim Meyering <address@hidden>
* Version 2.0.21.
* tests/tail/Test.pm: For tests matching /^(obs|err-[134])/,
put _POSIX2_VERSION=199209 in the environment, so the tests succeed
even when the environment would have contained _POSIX2_VERSION=200112.
* tests/uniq/Test.pm (test_vector): Rename tests of obsolete usage
to have prefix of `obs'. Adjust environment for those tests as above.
* tests/mk-script: When getting input via a pipe, apply the
environment settings to the command in question, not to `cat'.
No longer allow more than one element in the $Test::env or
$Test::env_default arrays. No caller used that feature.
2002-02-17 Jim Meyering <address@hidden>
* tests/head/Test.pm: Accept pre-POSIX 1003.1-2001 options.
* tests/pr/Test.pm: Likewise.
* tests/sort/Test.pm: Likewise.
* Makefile.cfg (wget_files): Reflect new location of these files.
2002-02-16 Jim Meyering <address@hidden>
* ABOUT-NLS, intl/*: Update to Gettext 0.11.
* INSTALL: Update to Autoconf 2.52h.
* src/Makefile.am (datadir): Use `share' in place of @DATADIRNAME@,
per Gettext-0.11.
(LDADD): Use @LIBINTL@ instead of @INTLLIBS@, per Gettext-0.11.
* configure.ac (AC_CONFIG_AUX_DIR): New macro invocation.
(ALL_LINGUAS): Remove: now in po/LINGUAS as per Gettext 0.11.
* config: New subdirectory, containing the following files from .:
config.guess, config.sub, depcomp, missing, install-sh, mkinstalldirs.
Move the following files here from doc: texinfo.tex, mdate-sh.
2002-02-15 Paul Eggert <address@hidden>
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.
* src/expand.c: Include posixver.h.
(usage): Document only the intersection of the old and new behaviors,
to encourage portability.
* src/fold.c: Likewise.
* src/head.c: Likewise.
* src/od.c: Likewise.
* src/pr.c: Likewise.
* src/sort.c: Likewise.
* src/split.c: Likewise.
* src/uniq.c: Likewise.
* src/tail.c: Likewise.
* src/unexpand.c: Likewise.
* src/expand.c (shortopts): Remove; no longer needed.
* src/od.c (short_options): Likewise.
* src/pr.c (short_options): Likewise.
* src/sort.c (short_options): Likewise.
* src/split.c (shortopts): Likewise.
* src/uniq.c (shortopts): Likewise.
* src/unexpand.c (shortopts): Likewise.
* src/od.c (COMMON_SHORT_OPTIONS): New macro.
* src/pr.c (COMMON_SHORT_OPTIONS): Likewise.
* src/sort.c (COMMON_SHORT_OPTIONS): Likewise.
* src/expand.c (main): Revert to previous behavior, except report
an error and exit if the obsolete syntax is used and if conforming
to the new standard.
* src/fold.c (main): Likewise.
* src/head.c (main): Likewise.
* src/split.c (main): Likewise.
* src/uniq.c (main): Likewise.
* src/tail.c (main, parse_obsolescent_option): Likewise.
* src/unexpand.c (main): Likewise.
* src/od.c (STRINGS_OPTION, WIDTH_OPTION): Remove; no longer needed.
All uses changed back to the corresponding short options.
* src/pr.c (SEP_STRING_OPTION): Likewise.
* src/od.c (main): Parse options using POSIX 1003.1-2001 rules if
conforming to that standard. Do not warn of obsolete options.
* src/pr.c (main): Likewise.
* src/sort.c (main): Likewise.
* src/system.h (_POSIX2_VERSION, POSIX2_VERSION): Remove definitions.
(OPTARG_POSIX, OBSOLETE_OPTION_WARNINGS): Likewise.
2002-02-16 Jim Meyering <address@hidden>
* tests/misc/split-a: New test for change of 2002-02-05.
* tests/misc/Makefile.am (TESTS): Add split-a.
2002-02-12 Jim Meyering <address@hidden>
* src/split.c (DEFAULT_SUFFIX_LENGTH): Define constant.
(suffix_length): Use it here.
(usage): Use it here.
2002-02-05 Paul Eggert <address@hidden>
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.
* NEWS, doc/coreutils.texi: Document this.
* src/split.c: 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.
* src/split.c (shortopts): Remove -v (a typo).
2002-02-11 Jim Meyering <address@hidden>
* tests/misc/head-pos: New file/test for the change of 2002-02-08.
* tests/misc/Makefile.am (TESTS): Add head-pos.
* src/tr.c (unquote): Make comment a little clearer.
2002-02-08 Paul Eggert <address@hidden>
* src/head.c (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.
2002-02-02 Jim Meyering <address@hidden>
* src/uniq.c (main): Prepend `warning: ' to the diagnostic, so it's
consistent with all of the other `... is obsolete...' diagnostics.
2002-01-31 Paul Eggert <address@hidden>
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.
* NEWS: Document this.
* doc/coreutils.texi: Likewise.
* src/expand.c (usage): Likewise.
* src/fold.c (usage): Likewise.
* src/head.c (usage): Likewise.
* src/od.c (usage): Likewise.
* src/pr.c (usage): Likewise.
* src/split.c (usage): Likewise.
* src/unexpand.c (usage): Likewise.
* src/uniq.c (usage): Likewise.
* NEWS: Improve doc for previous fix in this area.
* src/expand.c (shortopts): New constant.
* src/od.c (short_options): Likewise.
* src/pr.c (short_options): Likewise.
* src/sort.c (short_options): Likewise.
* src/split.c (shortopts): Likewise.
* src/unexpand.c (shortopts): Likewise.
* src/uniq.c (shortopts): Likewise.
* src/expand.c (main): Check for obsolete options.
* src/fold.c (main): Likewise.
* src/head.c (main): Likewise.
* src/od.c (main): Likewise.
* src/pr.c (main): Likewise.
* src/sort.c (main): Likewise.
* src/split.c (main): Likewise.
* src/tail.c (parse_obsolescent_option, main): Likewise.
* src/unexpand.c (main): Likewise.
* src/uniq.c (main): Likewise.
* src/head.c (header_mode_option): New constant.
* src/od.c: New enum for long options.
* src/pr.c (SEP_STRING_OPTION): New enum value.
(long_options): Use it.
* src/split.c (main): Use -1, not EOF, for getopt_long.
* src/system.h (OPTARG_POSIX, OBSOLETE_OPTION_WARNINGS): New macros.
* src/fold.c (main): Fix bug: -- -N was treated as -N --.
2002-02-01 Jim Meyering <address@hidden>
* src/tail.c (start_lines): Handle the case in which bytes_read is zero.
2002-01-28 Jim Meyering <address@hidden>
* Makefile.maint (ac-check): Remove, now that we no longer have
to duplicate that information.
(local-check): Remove ac-check.
* Makefile.am (AUTOMAKE_OPTIONS): Require automake-1.5d.
* configure.ac (AM_INIT_AUTOMAKE): Use zero-arg form of this macro.
(ALL_LINGUAS): Add the bokmål dialect of Norwegian (nb).
2002-01-27 Jim Meyering <address@hidden>
tail -n +2 would perform an extra read after encountering EOF
* src/tail.c (start_lines): Detect EOF, inform caller.
(tail_lines): Upon EOF in start_lines, return immediately.
2002-01-14 Paul Eggert <address@hidden>
**********************************************************************
doc/ChangeLog 2002/02/17 21:47:43 1.29
**********************************************************************
2002-02-17 Jim Meyering <address@hidden>
* coreutils.texi (tsort background): New section.
From Ian Lance Taylor.
(tsort invocation): Add a more realistic example.
2002-02-15 Paul Eggert <address@hidden>
* coreutils.texi: Document _POSIX2_VERSION.
(Standards Conformance): New section.
* coreutils.texi: Document this. (Also, document a similar
**********************************************************************
intl/ChangeLog 2002/02/17 21:52:17 1.26
**********************************************************************
2002-02-17 Jim Meyering <address@hidden>
* dcigettext.c (_nl_find_msg): Rename local `index' to `idx' to avoid
shadowing the global.
2002-01-31 GNU <address@hidden>
* Version 0.11 released.
**********************************************************************
lib/ChangeLog 2002/02/16 08:14:53 1.331
**********************************************************************
2002-02-15 Paul Eggert <address@hidden>
* posixver.c, posixver.h: New files.
* Makefile.am (libfetish_a_SOURCES): Add them.
2002-02-02 Paul Eggert <address@hidden>
Bruno Haible <address@hidden>
* unicodeio.h (print_unicode_char): Add exit_on_error argument.
(fwrite_success_callback): New declaration.
* 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.
**********************************************************************
m4/ChangeLog 2002/02/16 14:58:48 1.380
**********************************************************************
2002-02-16 gettextize <address@hidden>
* codeset.m4: Upgrade to gettext-0.11.
* gettext.m4: Upgrade to gettext-0.11.
* glibc21.m4: Upgrade to gettext-0.11.
* iconv.m4: Upgrade to gettext-0.11.
* isc-posix.m4: Upgrade to gettext-0.11.
* lcmessage.m4: Upgrade to gettext-0.11.
* lib-ld.m4: New file, from gettext-0.11.
* lib-link.m4: New file, from gettext-0.11.
* lib-prefix.m4: New file, from gettext-0.11.
* progtest.m4: Upgrade to gettext-0.11.
2002-02-15 Paul Eggert <address@hidden>
* m4/prereq.m4 (jm_PREREQ_POSIXVER): New macro.
(jm_PREREQ): Use it.
2002-01-26 Jim Meyering <address@hidden>
* jm-macros.m4 (jm_MACROS): Require autoconf-2.52g.
* strnlen.m4: Remove file, now that it's part of autoconf.
**********************************************************************
po/ChangeLog 2002/02/17 16:20:46 1.6
**********************************************************************
2002-02-17 Jim Meyering <address@hidden>
* Makefile.in.in ($(DOMAIN).pot-update): Remove/replace the .pot
file only if the new one is different (modulo the creation date).
2002-02-16 Jim Meyering <address@hidden>
* LINGUAS: Add Catalan (ca).
2002-02-16 gettextize <address@hidden>
* Makefile.in.in: Upgrade to gettext-0.11.
* Rules-quot: New file, from gettext-0.11.
* boldquot.sed: New file, from gettext-0.11.
* address@hidden: New file, from gettext-0.11.
* address@hidden: New file, from gettext-0.11.
* insert-header.sin: New file, from gettext-0.11.
* quot.sed: New file, from gettext-0.11.
**********************************************************************
/tmp/cvsXktPCo Mon Feb 18 14:16:52 2002
**********************************************************************
2002-02-17 Jim Meyering <address@hidden>
* config.guess (main): Don't use `head -1'; it's no longer portable.
Use `sed 1q' instead.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Coreutils-announce] textutils-2.0.21 released,
Jim Meyering <=