2021-01-05 Antonio Diaz Diaz * Version 1.10 released. * zdiff.cc (set_fifonames): Encode pid in little endian order. * zupdate.cc (zupdate_file): Fix a portability issue with Solaris 10. * zutils.texi: Document that 'zgrep -L' fails with GNU grep 3.2 to 3.4. * check.sh: Test empty input files with all tools except zupdate. 2020-06-27 Antonio Diaz Diaz * Version 1.9 released. * zcmp.cc, zdiff.cc: Read standard input only if requested. * zdiff.cc (main): Pass options '-W' and '-y' to diff. * zutils.cc (test_format): Detect bzip2 and lzip files better. * ztest.cc (main): Continue testing if any input file is a terminal. If verbosity >= 1, print number of files that failed the test. * zcat.cc, zgrep.cc, ztest.cc (main): Check return value of close(infd). * zutils.cc (good_status): Ignore trailing data remaining in feeder. * zupdate.cc (zupdate_file): Support new and old lzip option '-o'. Keep combined extensions: tgz, tbz, tbz2, txz --> tlz. Quote file names in zcmp_command to allow file names with spaces. * *.cc (main): Set a valid invocation_name even if argc == 0. * zutils.texi: Improve descriptions of zcat, zcmp, and zdiff. 2019-01-01 Antonio Diaz Diaz * Version 1.8 released. * zcat.cc: Fix a buffer overflow on outbuf when '-v' is used. * zcat.cc (cat): A canary byte has been added to outbuf. * New option '-R, --dereference-recursive'. * Option '-r, --recursive' now skips symlinks. * If no files and recursive, examine current working directory. * recursive.cc (test_full_name): Detect directory loops. * recursive.cc: Ignore directories if not --recursive. * recursive.cc: Remove extra trailing slashes from directory args. * zcatgrep.cc (open_instream): Show correct errno. * zutils.cc (good_status): Wait for killed child. * Test and document continuation or exit of zcat, zgrep, ztest, and zupdate in case of error. * configure: Accept appending to CXXFLAGS, 'CXXFLAGS+=OPTIONS'. 2018-02-13 Antonio Diaz Diaz * Version 1.7 released. * zgrep.cc (main): Pass option '--color' to grep. * check.sh: Add new tests for zgrep. 2017-04-05 Antonio Diaz Diaz * Version 1.6 released. * zcmp.cc: Accept 'B' suffix in '--ignore-initial=1kB:1234B'. * zutils.cc (feed_data): Show input file name in error messages. 2016-05-15 Antonio Diaz Diaz * Version 1.5 released. * zupdate.cc (zupdate_file): Pass '-q' to zcmp if verbosity < 0. * zcat.cc, zgrep.cc, ztest.cc (main): Don't use stdin more than once. * zdiff.cc (set_fifonames): Use '_' if both names are different. * configure: Avoid warning on some shells when testing for g++. * Makefile.in: Detect the existence of install-info. * check.sh: A POSIX shell is required to run the tests. 2015-05-29 Antonio Diaz Diaz * Version 1.4 released. * Option '--format' has been renamed to '-O, --force-format'. * Add new option '-M, --format=' to all utilities. * zgrep.cc (main): Pass '-e' to grep if pattern begins with '-'. * Makefile.in: New targets 'install*-compress'. 2014-08-30 Antonio Diaz Diaz * Version 1.3 released. * check.sh: Fix two values of expected exit status. * zutils.texi: Document that '--format' does not verify format. * Add two missing #includes. * Change license to GPL version 2 or later. 2014-02-01 Antonio Diaz Diaz * Version 1.2 released. * New utility; zupdate. * Remove zutils executable. Utils are now independent executables. * zgrep.cc: Fix the exit status returned on error. * zutils.texinfo: Rename to zutils.texi. 2013-08-02 Antonio Diaz Diaz * Version 1.1 released. * Add options '--bz2', '--gz', '--lz', and '--xz' to all utilities. * Add runtime configuration file 'zutilsrc'. * New function 'good_status' checks exit status of all children. * Fix all uses of decompressed/uncompressed in the documentation. 2013-05-31 Antonio Diaz Diaz * Version 1.0 released. * Add new option '--format' to all utilities. * main.cc (main): Make 'grep_show_name' tri-state so that file name is no prefixed to output by default when searching one file and '--recursive' has not been selected. * zgrep.cc: Fix output of option '-L' (it behaved like '-l'). * zcmp.cc: Fix deadlock when option '-n' is used. * zdiff.cc (set_data_feeder): Call compressor with option '-q' only if verbosity < 0. * zutils.cc (set_data_feeder): Likewise. * Change quote characters in messages as advised by GNU Standards. * configure: Options now accept a separate argument. Rename 'datadir' to 'datarootdir'. Ignore environment variables. * Makefile.in: New target 'install-bin'. * Use 'setmode' instead of '_setmode' on Windows and OS/2. * zcat.cc (Line_number): Fix a portability issue with Solaris 9. * INSTALL: Document installing zutils along with GNU gzip. 2011-01-11 Antonio Diaz Diaz * Version 0.9 released. * configure: New options 'DIFF' and 'GREP'. * zcmp.cc: Fix deadlock when files differ. * zgrep.cc: Fix deadlock when binary file matches. 2010-11-15 Antonio Diaz Diaz * Version 0.8 released. * main.cc: New options '--zcat', '--zgrep', and '--ztest'. * zcat.cc: New file implementing zcat+cat functionality in C++. * zcmp.cc: New file implementing zcmp+cmp functionality in C++. * doc/zcmp.1: New file. * Remove files zcmp.in, zdiff.in. * zdiff.cc: New file implementing zdiff functionality in C++. * zgrep.cc: New file implementing zgrep functionality in C++. * All mentions to zegrep and zfgrep have been removed from the documentation because egrep and fgrep are deprecated. * ztest.cc: New file implementing ztest functionality in C++. * Makefile.in: Add quotes to directory names. * check.sh: Use 'test.txt' instead of 'COPYING' for testing. * Remove environment safeguards from configure as requested by Richard Stallman. Now environment variables affect configure. 2009-10-21 Antonio Diaz Diaz * Version 0.7 released. * New utility; ztest. * zcat.in: New option '-r, --recursive'. 2009-10-05 Antonio Diaz Diaz * Version 0.6 released. * zcat.in, zgrep.in: Remove again default compressor. Format of data read from stdin is now automatically detected. * Makefile.in: Add option '--name' to help2man invocation. 2009-10-01 Antonio Diaz Diaz * Version 0.5 released. * zcat.in, zgrep.in: Read again data from stdin. * Add again default compressor for stdin only. 2009-09-17 Antonio Diaz Diaz * Version 0.4 released. * Add two new utilities; zegrep and zfgrep. * Add zutils executable which recognizes file formats. 2009-08-28 Antonio Diaz Diaz * Version 0.3 released. * Remove default compressor. * zcat.in, zgrep.in: Don't read data from stdin. * Update home page and mailing list addresses. 2009-08-13 Antonio Diaz Diaz * Version 0.2 released. * Add support for xz. 2009-08-07 Antonio Diaz Diaz * Version 0.1 released. Copyright (C) 2009-2021 Antonio Diaz Diaz. This file is a collection of facts, and thus it is not copyrightable, but just in case, you have unlimited permission to copy, distribute, and modify it.