1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
|
2023-12-31 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.13-rc1 released.
* zutils.cc (test_format): Fix detection of bzip2 with no blocks.
* rc.h (format_order): Put fmt_gz before fmt_bz2.
* zcmpdiff.cc (open_other_instream): Try also other compressed formats.
* zcmp.cc (cmp): Report EOF on empty file like GNU cmp.
* zupdate.cc: Reformat file diagnostics as 'PROGRAM: FILE: MESSAGE'.
* Replace 'verify' with 'check'.
* configure, Makefile.in: New variable 'MAKEINFO'.
2023-01-07 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.12 released.
* zutilsrc: Rename to zutils.conf. Search for it in $XDG_CONFIG_HOME.
(Suggested by Adam Tuja).
* Allow '-O, --force-format' force also uncompressed format.
* zcmp.cc: New option '-H, --hexadecimal'.
Change long name of option '-s' to '--script'.
(Following a similar change made to GNU ed).
Assign short name '-q' to options '--quiet' and '--silent'.
Separate option '-l, --list' from '-v, --verbose'.
(cmp): Print byte and line in EOF message like GNU cmp.
* zgrep.cc: New options '-G, --basic-regexp', '--label=<label>',
'--line-buffered', '-P, --perl-regexp', '--silent',
'-T, --initial-tab', '-U, --binary'. (Reported by Chris Jamboretz).
New option '-Z, --null'. (Reported by Leah Neukirchen).
* ztest.cc: Exit with status 2 if a file has wrong extension.
* zupdate.cc: New options '-d, --destdir', '-e, --expand-extensions',
'-i, --ignore-errors'. ('-i' suggested by Antoni Sawicki).
(zupdate_file): Pass '-q -s' to zcmp if verbosity < 0.
* Support compress'd (.Z) files through gzip in all utilities.
* rc.cc (show_version): Print the versions of the compressors used.
(show_option_error): New function showing argument and option name.
* zutils.texi: Document that format is detected by its magic bytes.
* check.sh: Test tarlz (if available) as compressor for zupdate.
2022-01-25 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.11 released.
* zcmp.cc, zdiff.cc (main): Fix race returning 1 instead of 2 when a
compressor is not found or when the wrong format is forced.
* zcmp.cc (getnum): Show option name and valid range if error.
* All utilities: Show option name if error in option argument.
* Add support for zstd format to all utilities.
* 'zdiff -v -V' now prints the version of the diff program used.
* 'zgrep --verbose -V' now prints the version of the grep program used.
* zutils.texi: Document recompression of read-only files by linking.
* zutils.texi: Change GNU Texinfo category to 'Compression'.
(Reported by Alfred M. Szmidt).
2021-01-05 Antonio Diaz Diaz <antonio@gnu.org>
* 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 utilities except zupdate.
2020-06-27 Antonio Diaz Diaz <antonio@gnu.org>
* 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 <antonio@gnu.org>
* 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 <antonio@gnu.org>
* 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 <antonio@gnu.org>
* 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 <antonio@gnu.org>
* 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 <antonio@gnu.org>
* Version 1.4 released.
* Option '--format' has been renamed to '-O, --force-format'.
* Add new option '-M, --format=<list>' 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 <antonio@gnu.org>
* Version 1.3 released.
* check.sh: Fix two values of expected exit status.
* zutils.texi: Document that '--format' does not check format.
* Add two missing #includes.
* Change license to GPL version 2 or later.
2014-02-01 Antonio Diaz Diaz <antonio@gnu.org>
* Version 1.2 released.
* New utility; zupdate.
* Remove zutils executable. Utilities 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 <antonio@gnu.org>
* 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 <antonio@gnu.org>
* 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 not prefixed to the 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 <ant_diaz@teleline.es>
* Version 0.9 released.
* configure: New variables 'DIFF' and 'GREP'.
* zcmp.cc: Fix deadlock when files differ.
* zgrep.cc: Fix deadlock when binary file matches.
2010-11-15 Antonio Diaz Diaz <ant_diaz@teleline.es>
* 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.
* configure: Remove environment safeguards as requested by
Richard Stallman. Now environment variables affect configure.
2009-10-21 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 0.7 released.
* New utility; ztest.
* zcat.in: New option '-r, --recursive'.
2009-10-05 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 0.6 released.
* zcat.in, zgrep.in: Remove again default compressor. The format of
the data read from stdin is now automatically detected.
* Makefile.in: Add option '--name' to help2man invocation.
2009-10-01 Antonio Diaz Diaz <ant_diaz@teleline.es>
* 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 <ant_diaz@teleline.es>
* Version 0.4 released.
* Add two new utilities; zegrep and zfgrep.
* Add zutils executable which recognizes file formats.
2009-08-28 Antonio Diaz Diaz <ant_diaz@teleline.es>
* 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 <ant_diaz@teleline.es>
* Version 0.2 released.
* Add support for xz.
2009-08-07 Antonio Diaz Diaz <ant_diaz@teleline.es>
* Version 0.1 released.
Copyright (C) 2009-2023 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.
|