Adding upstream version 1.12.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
1fcd9bc933
commit
6b4ef5ad72
29 changed files with 72 additions and 86 deletions
29
ChangeLog
29
ChangeLog
|
@ -1,6 +1,6 @@
|
||||||
2022-12-05 Antonio Diaz Diaz <antonio@gnu.org>
|
2023-01-07 Antonio Diaz Diaz <antonio@gnu.org>
|
||||||
|
|
||||||
* Version 1.12-rc1 released.
|
* Version 1.12 released.
|
||||||
* zutilsrc: Rename to zutils.conf. Search for it in $XDG_CONFIG_HOME.
|
* zutilsrc: Rename to zutils.conf. Search for it in $XDG_CONFIG_HOME.
|
||||||
(Suggested by Adam Tuja).
|
(Suggested by Adam Tuja).
|
||||||
* Allow '-O, --force-format' force also uncompressed format.
|
* Allow '-O, --force-format' force also uncompressed format.
|
||||||
|
@ -10,29 +10,20 @@
|
||||||
Assign short name '-q' to options '--quiet' and '--silent'.
|
Assign short name '-q' to options '--quiet' and '--silent'.
|
||||||
Separate option '-l, --list' from '-v, --verbose'.
|
Separate option '-l, --list' from '-v, --verbose'.
|
||||||
(cmp): Print byte and line in EOF message like GNU cmp.
|
(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.
|
* ztest.cc: Exit with status 2 if a file has wrong extension.
|
||||||
* zupdate.cc: New option '-d, --destdir'.
|
* 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.
|
(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.
|
* rc.cc (show_version): Print the versions of the compressors used.
|
||||||
(show_option_error): New function showing argument and option name.
|
(show_option_error): New function showing argument and option name.
|
||||||
* zutils.texi: Document that format is detected by its magic bytes.
|
* zutils.texi: Document that format is detected by its magic bytes.
|
||||||
* check.sh: Test tarlz (if available) as compressor for zupdate.
|
* check.sh: Test tarlz (if available) as compressor for zupdate.
|
||||||
|
|
||||||
2022-04-12 Antonio Diaz Diaz <antonio@gnu.org>
|
|
||||||
|
|
||||||
* Version 1.12-pre2 released.
|
|
||||||
* zgrep.cc: Accept option '-Z, --null'. (Reported by Leah Neukirchen).
|
|
||||||
* zupdate.cc: New options '-e, --expand-extensions',
|
|
||||||
'-i, --ignore-errors'. ('-i' suggested by Antoni Sawicki).
|
|
||||||
* Support compress'd (.Z) files through gzip in all utilities.
|
|
||||||
|
|
||||||
2022-03-06 Antonio Diaz Diaz <antonio@gnu.org>
|
|
||||||
|
|
||||||
* Version 1.12-pre1 released.
|
|
||||||
* zgrep.cc: Accept options '-G, --basic-regexp', '--label=<label>',
|
|
||||||
'--line-buffered', '-P, --perl-regexp', '--silent',
|
|
||||||
'-T, --initial-tab', '-U, --binary'. (Reported by Chris Jamboretz).
|
|
||||||
|
|
||||||
2022-01-25 Antonio Diaz Diaz <antonio@gnu.org>
|
2022-01-25 Antonio Diaz Diaz <antonio@gnu.org>
|
||||||
|
|
||||||
* Version 1.11 released.
|
* Version 1.11 released.
|
||||||
|
@ -229,7 +220,7 @@
|
||||||
* Version 0.1 released.
|
* Version 0.1 released.
|
||||||
|
|
||||||
|
|
||||||
Copyright (C) 2009-2022 Antonio Diaz Diaz.
|
Copyright (C) 2009-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This file is a collection of facts, and thus it is not copyrightable,
|
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
|
but just in case, you have unlimited permission to copy, distribute, and
|
||||||
|
|
2
INSTALL
2
INSTALL
|
@ -76,7 +76,7 @@ After running 'configure', you can run 'make' and 'make install' as
|
||||||
explained above.
|
explained above.
|
||||||
|
|
||||||
|
|
||||||
Copyright (C) 2009-2022 Antonio Diaz Diaz.
|
Copyright (C) 2009-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This file is free documentation: you have unlimited permission to copy,
|
This file is free documentation: you have unlimited permission to copy,
|
||||||
distribute, and modify it.
|
distribute, and modify it.
|
||||||
|
|
2
NEWS
2
NEWS
|
@ -42,7 +42,7 @@ read-only file system to another place without needing to copy or link them
|
||||||
to the destination directory first.
|
to the destination directory first.
|
||||||
|
|
||||||
zupdate now accepts option '-e, --expand-extensions', which makes it expand
|
zupdate now accepts option '-e, --expand-extensions', which makes it expand
|
||||||
combined file name extensions; tgz -> tar.lz.
|
combined file name extensions; tgz --> tar.lz.
|
||||||
|
|
||||||
zupdate now also accepts option '-i, --ignore-errors', which makes it ignore
|
zupdate now also accepts option '-i, --ignore-errors', which makes it ignore
|
||||||
non-fatal errors. (Suggested by Antoni Sawicki).
|
non-fatal errors. (Suggested by Antoni Sawicki).
|
||||||
|
|
2
README
2
README
|
@ -40,7 +40,7 @@ been compressed. Decompressed is used to refer to data which have undergone
|
||||||
the process of decompression.
|
the process of decompression.
|
||||||
|
|
||||||
|
|
||||||
Copyright (C) 2009-2022 Antonio Diaz Diaz.
|
Copyright (C) 2009-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This file is free documentation: you have unlimited permission to copy,
|
This file is free documentation: you have unlimited permission to copy,
|
||||||
distribute, and modify it.
|
distribute, and modify it.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Arg_parser - POSIX/GNU command line argument parser. (C++ version)
|
/* Arg_parser - POSIX/GNU command line argument parser. (C++ version)
|
||||||
Copyright (C) 2006-2022 Antonio Diaz Diaz.
|
Copyright (C) 2006-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This library is free software. Redistribution and use in source and
|
This library is free software. Redistribution and use in source and
|
||||||
binary forms, with or without modification, are permitted provided
|
binary forms, with or without modification, are permitted provided
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Arg_parser - POSIX/GNU command line argument parser. (C++ version)
|
/* Arg_parser - POSIX/GNU command line argument parser. (C++ version)
|
||||||
Copyright (C) 2006-2022 Antonio Diaz Diaz.
|
Copyright (C) 2006-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This library is free software. Redistribution and use in source and
|
This library is free software. Redistribution and use in source and
|
||||||
binary forms, with or without modification, are permitted provided
|
binary forms, with or without modification, are permitted provided
|
||||||
|
|
6
configure
vendored
6
configure
vendored
|
@ -1,12 +1,12 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# configure script for Zutils - Utilities dealing with compressed files
|
# configure script for Zutils - Utilities dealing with compressed files
|
||||||
# Copyright (C) 2009-2022 Antonio Diaz Diaz.
|
# Copyright (C) 2009-2023 Antonio Diaz Diaz.
|
||||||
#
|
#
|
||||||
# This configure script is free software: you have unlimited permission
|
# This configure script is free software: you have unlimited permission
|
||||||
# to copy, distribute, and modify it.
|
# to copy, distribute, and modify it.
|
||||||
|
|
||||||
pkgname=zutils
|
pkgname=zutils
|
||||||
pkgversion=1.12-rc1
|
pkgversion=1.12
|
||||||
srctrigger=doc/${pkgname}.texi
|
srctrigger=doc/${pkgname}.texi
|
||||||
|
|
||||||
# clear some things potentially inherited from environment.
|
# clear some things potentially inherited from environment.
|
||||||
|
@ -183,7 +183,7 @@ echo "GREP = ${GREP}"
|
||||||
rm -f Makefile
|
rm -f Makefile
|
||||||
cat > Makefile << EOF
|
cat > Makefile << EOF
|
||||||
# Makefile for Zutils - Utilities dealing with compressed files
|
# Makefile for Zutils - Utilities dealing with compressed files
|
||||||
# Copyright (C) 2009-2022 Antonio Diaz Diaz.
|
# Copyright (C) 2009-2023 Antonio Diaz Diaz.
|
||||||
# This file was generated automatically by configure. Don't edit.
|
# This file was generated automatically by configure. Don't edit.
|
||||||
#
|
#
|
||||||
# This Makefile is free software: you have unlimited permission
|
# This Makefile is free software: you have unlimited permission
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
||||||
.TH ZCAT "1" "December 2022" "zutils 1.12-rc1" "User Commands"
|
.TH ZCAT "1" "January 2023" "zutils 1.12" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
zcat \- decompress and concatenate files to standard output
|
zcat \- decompress and concatenate files to standard output
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -102,7 +102,7 @@ Report bugs to zutils\-bug@nongnu.org
|
||||||
.br
|
.br
|
||||||
Zutils home page: http://www.nongnu.org/zutils/zutils.html
|
Zutils home page: http://www.nongnu.org/zutils/zutils.html
|
||||||
.SH COPYRIGHT
|
.SH COPYRIGHT
|
||||||
Copyright \(co 2022 Antonio Diaz Diaz.
|
Copyright \(co 2023 Antonio Diaz Diaz.
|
||||||
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
|
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
|
||||||
.br
|
.br
|
||||||
This is free software: you are free to change and redistribute it.
|
This is free software: you are free to change and redistribute it.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
||||||
.TH ZCMP "1" "December 2022" "zutils 1.12-rc1" "User Commands"
|
.TH ZCMP "1" "January 2023" "zutils 1.12" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
zcmp \- decompress and compare two files byte by byte
|
zcmp \- decompress and compare two files byte by byte
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -94,7 +94,7 @@ Report bugs to zutils\-bug@nongnu.org
|
||||||
.br
|
.br
|
||||||
Zutils home page: http://www.nongnu.org/zutils/zutils.html
|
Zutils home page: http://www.nongnu.org/zutils/zutils.html
|
||||||
.SH COPYRIGHT
|
.SH COPYRIGHT
|
||||||
Copyright \(co 2022 Antonio Diaz Diaz.
|
Copyright \(co 2023 Antonio Diaz Diaz.
|
||||||
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
|
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
|
||||||
.br
|
.br
|
||||||
This is free software: you are free to change and redistribute it.
|
This is free software: you are free to change and redistribute it.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
||||||
.TH ZDIFF "1" "December 2022" "zutils 1.12-rc1" "User Commands"
|
.TH ZDIFF "1" "January 2023" "zutils 1.12" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
zdiff \- decompress and compare two files line by line
|
zdiff \- decompress and compare two files line by line
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -125,7 +125,7 @@ Report bugs to zutils\-bug@nongnu.org
|
||||||
.br
|
.br
|
||||||
Zutils home page: http://www.nongnu.org/zutils/zutils.html
|
Zutils home page: http://www.nongnu.org/zutils/zutils.html
|
||||||
.SH COPYRIGHT
|
.SH COPYRIGHT
|
||||||
Copyright \(co 2022 Antonio Diaz Diaz.
|
Copyright \(co 2023 Antonio Diaz Diaz.
|
||||||
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
|
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
|
||||||
.br
|
.br
|
||||||
This is free software: you are free to change and redistribute it.
|
This is free software: you are free to change and redistribute it.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
||||||
.TH ZGREP "1" "December 2022" "zutils 1.12-rc1" "User Commands"
|
.TH ZGREP "1" "January 2023" "zutils 1.12" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
zgrep \- search compressed files for a regular expression
|
zgrep \- search compressed files for a regular expression
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -175,7 +175,7 @@ Report bugs to zutils\-bug@nongnu.org
|
||||||
.br
|
.br
|
||||||
Zutils home page: http://www.nongnu.org/zutils/zutils.html
|
Zutils home page: http://www.nongnu.org/zutils/zutils.html
|
||||||
.SH COPYRIGHT
|
.SH COPYRIGHT
|
||||||
Copyright \(co 2022 Antonio Diaz Diaz.
|
Copyright \(co 2023 Antonio Diaz Diaz.
|
||||||
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
|
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
|
||||||
.br
|
.br
|
||||||
This is free software: you are free to change and redistribute it.
|
This is free software: you are free to change and redistribute it.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
||||||
.TH ZTEST "1" "December 2022" "zutils 1.12-rc1" "User Commands"
|
.TH ZTEST "1" "January 2023" "zutils 1.12" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
ztest \- verify the integrity of compressed files
|
ztest \- verify the integrity of compressed files
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -83,7 +83,7 @@ Report bugs to zutils\-bug@nongnu.org
|
||||||
.br
|
.br
|
||||||
Zutils home page: http://www.nongnu.org/zutils/zutils.html
|
Zutils home page: http://www.nongnu.org/zutils/zutils.html
|
||||||
.SH COPYRIGHT
|
.SH COPYRIGHT
|
||||||
Copyright \(co 2022 Antonio Diaz Diaz.
|
Copyright \(co 2023 Antonio Diaz Diaz.
|
||||||
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
|
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
|
||||||
.br
|
.br
|
||||||
This is free software: you are free to change and redistribute it.
|
This is free software: you are free to change and redistribute it.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.16.
|
||||||
.TH ZUPDATE "1" "December 2022" "zutils 1.12-rc1" "User Commands"
|
.TH ZUPDATE "1" "January 2023" "zutils 1.12" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
zupdate \- recompress bzip2, gzip, xz, zstd files to lzip format
|
zupdate \- recompress bzip2, gzip, xz, zstd files to lzip format
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -47,7 +47,7 @@ output version information and exit
|
||||||
write recompressed files into <dir>
|
write recompressed files into <dir>
|
||||||
.TP
|
.TP
|
||||||
\fB\-e\fR, \fB\-\-expand\-extensions\fR
|
\fB\-e\fR, \fB\-\-expand\-extensions\fR
|
||||||
expand combined extensions; tgz \-> tar.lz
|
expand combined extensions; tgz \fB\-\-\fR> tar.lz
|
||||||
.TP
|
.TP
|
||||||
\fB\-f\fR, \fB\-\-force\fR
|
\fB\-f\fR, \fB\-\-force\fR
|
||||||
don't skip a file even if the .lz exists
|
don't skip a file even if the .lz exists
|
||||||
|
@ -103,7 +103,7 @@ Report bugs to zutils\-bug@nongnu.org
|
||||||
.br
|
.br
|
||||||
Zutils home page: http://www.nongnu.org/zutils/zutils.html
|
Zutils home page: http://www.nongnu.org/zutils/zutils.html
|
||||||
.SH COPYRIGHT
|
.SH COPYRIGHT
|
||||||
Copyright \(co 2022 Antonio Diaz Diaz.
|
Copyright \(co 2023 Antonio Diaz Diaz.
|
||||||
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
|
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
|
||||||
.br
|
.br
|
||||||
This is free software: you are free to change and redistribute it.
|
This is free software: you are free to change and redistribute it.
|
||||||
|
|
|
@ -11,7 +11,7 @@ File: zutils.info, Node: Top, Next: Introduction, Up: (dir)
|
||||||
Zutils Manual
|
Zutils Manual
|
||||||
*************
|
*************
|
||||||
|
|
||||||
This manual is for Zutils (version 1.12-rc1, 5 December 2022).
|
This manual is for Zutils (version 1.12, 7 January 2023).
|
||||||
|
|
||||||
* Menu:
|
* Menu:
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ This manual is for Zutils (version 1.12-rc1, 5 December 2022).
|
||||||
* Concept index:: Index of concepts
|
* Concept index:: Index of concepts
|
||||||
|
|
||||||
|
|
||||||
Copyright (C) 2009-2022 Antonio Diaz Diaz.
|
Copyright (C) 2009-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This manual is free documentation: you have unlimited permission to copy,
|
This manual is free documentation: you have unlimited permission to copy,
|
||||||
distribute, and modify it.
|
distribute, and modify it.
|
||||||
|
@ -825,10 +825,6 @@ the original file is not deleted. The operation of 'zupdate' is meant to be
|
||||||
safe and not cause any data loss. Therefore, existing lzip compressed files
|
safe and not cause any data loss. Therefore, existing lzip compressed files
|
||||||
are never overwritten nor deleted.
|
are never overwritten nor deleted.
|
||||||
|
|
||||||
Recompressing files from a read-only file system to another place can be
|
|
||||||
done by first linking the files from the destination directory and then
|
|
||||||
compressing the links: 'ln -s /src/foo.gz . && zupdate foo.gz'
|
|
||||||
|
|
||||||
Combining the options '--force' and '--keep', as in
|
Combining the options '--force' and '--keep', as in
|
||||||
'zupdate -f -k *.gz', verifies that there are no differences between each
|
'zupdate -f -k *.gz', verifies that there are no differences between each
|
||||||
pair of files in a multiformat set of files.
|
pair of files in a multiformat set of files.
|
||||||
|
@ -838,7 +834,7 @@ extensions:
|
||||||
'.bz2', '.gz', '.xz', '.zst', or '.Z', which are recompressed to '.lz';
|
'.bz2', '.gz', '.xz', '.zst', or '.Z', which are recompressed to '.lz';
|
||||||
'.tbz', '.tbz2', '.tgz', '.txz', or '.tzst', which are recompressed to
|
'.tbz', '.tbz2', '.tgz', '.txz', or '.tzst', which are recompressed to
|
||||||
'.tlz'.
|
'.tlz'.
|
||||||
Keeping the combined extensions ('.tgz' -> '.tlz') may be useful when
|
Keeping the combined extensions ('.tgz' --> '.tlz') may be useful when
|
||||||
recompressing Slackware packages, for example.
|
recompressing Slackware packages, for example.
|
||||||
|
|
||||||
Bzip2, gzip, and lzip are the primary formats. Xz and zstd are optional.
|
Bzip2, gzip, and lzip are the primary formats. Xz and zstd are optional.
|
||||||
|
@ -899,7 +895,8 @@ compressor can't be run, or comparison fails).
|
||||||
'-k'
|
'-k'
|
||||||
'--keep'
|
'--keep'
|
||||||
Keep (don't delete) the input file after comparing it with the lzip
|
Keep (don't delete) the input file after comparing it with the lzip
|
||||||
file.
|
file. Use it when recompressing files from a read-only file system.
|
||||||
|
(See option '--destdir' above).
|
||||||
|
|
||||||
'-l'
|
'-l'
|
||||||
'--lzip-verbose'
|
'--lzip-verbose'
|
||||||
|
@ -987,20 +984,20 @@ Concept index
|
||||||
|
|
||||||
Tag Table:
|
Tag Table:
|
||||||
Node: Top217
|
Node: Top217
|
||||||
Node: Introduction1156
|
Node: Introduction1151
|
||||||
Node: Common options4003
|
Node: Common options3998
|
||||||
Ref: version4489
|
Ref: version4484
|
||||||
Ref: compressor-requirements6440
|
Ref: compressor-requirements6435
|
||||||
Node: Configuration6835
|
Node: Configuration6830
|
||||||
Node: Zcat7868
|
Node: Zcat7863
|
||||||
Node: Zcmp10568
|
Node: Zcmp10563
|
||||||
Node: Zdiff14825
|
Node: Zdiff14820
|
||||||
Node: Zgrep18008
|
Node: Zgrep18003
|
||||||
Node: Ztest24116
|
Node: Ztest24111
|
||||||
Node: Zupdate26915
|
Node: Zupdate26910
|
||||||
Ref: lz-compressor32442
|
Ref: lz-compressor32325
|
||||||
Node: Problems33143
|
Node: Problems33026
|
||||||
Node: Concept index33677
|
Node: Concept index33560
|
||||||
|
|
||||||
End Tag Table
|
End Tag Table
|
||||||
|
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
@finalout
|
@finalout
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@set UPDATED 5 December 2022
|
@set UPDATED 7 January 2023
|
||||||
@set VERSION 1.12-rc1
|
@set VERSION 1.12
|
||||||
|
|
||||||
@dircategory Compression
|
@dircategory Compression
|
||||||
@direntry
|
@direntry
|
||||||
|
@ -50,7 +50,7 @@ This manual is for Zutils (version @value{VERSION}, @value{UPDATED}).
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
@sp 1
|
@sp 1
|
||||||
Copyright @copyright{} 2009-2022 Antonio Diaz Diaz.
|
Copyright @copyright{} 2009-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This manual is free documentation: you have unlimited permission to copy,
|
This manual is free documentation: you have unlimited permission to copy,
|
||||||
distribute, and modify it.
|
distribute, and modify it.
|
||||||
|
@ -906,10 +906,6 @@ file is not deleted. The operation of @command{zupdate} is meant to be safe
|
||||||
and not cause any data loss. Therefore, existing lzip compressed files are
|
and not cause any data loss. Therefore, existing lzip compressed files are
|
||||||
never overwritten nor deleted.
|
never overwritten nor deleted.
|
||||||
|
|
||||||
Recompressing files from a read-only file system to another place can be
|
|
||||||
done by first linking the files from the destination directory and then
|
|
||||||
compressing the links: @w{@samp{ln -s /src/foo.gz . && zupdate foo.gz}}
|
|
||||||
|
|
||||||
Combining the options @option{--force} and @option{--keep}, as in
|
Combining the options @option{--force} and @option{--keep}, as in
|
||||||
@w{@samp{zupdate -f -k *.gz}}, verifies that there are no differences
|
@w{@samp{zupdate -f -k *.gz}}, verifies that there are no differences
|
||||||
between each pair of files in a multiformat set of files.
|
between each pair of files in a multiformat set of files.
|
||||||
|
@ -919,7 +915,7 @@ The names of the original files must have one of the following extensions:@*
|
||||||
recompressed to @samp{.lz};@*
|
recompressed to @samp{.lz};@*
|
||||||
@samp{.tbz}, @samp{.tbz2}, @samp{.tgz}, @samp{.txz}, or @samp{.tzst}, which
|
@samp{.tbz}, @samp{.tbz2}, @samp{.tgz}, @samp{.txz}, or @samp{.tzst}, which
|
||||||
are recompressed to @samp{.tlz}.@*
|
are recompressed to @samp{.tlz}.@*
|
||||||
Keeping the combined extensions @w{(@samp{.tgz} --> @samp{.tlz})} may be
|
Keeping the combined extensions @w{(@samp{.tgz} ---> @samp{.tlz})} may be
|
||||||
useful when recompressing Slackware packages, for example.
|
useful when recompressing Slackware packages, for example.
|
||||||
|
|
||||||
Bzip2, gzip, and lzip are the primary formats. Xz and zstd are optional. If
|
Bzip2, gzip, and lzip are the primary formats. Xz and zstd are optional. If
|
||||||
|
@ -984,6 +980,8 @@ Ignore non-fatal errors. (See exit status above).
|
||||||
@item -k
|
@item -k
|
||||||
@itemx --keep
|
@itemx --keep
|
||||||
Keep (don't delete) the input file after comparing it with the lzip file.
|
Keep (don't delete) the input file after comparing it with the lzip file.
|
||||||
|
Use it when recompressing files from a read-only file system. (See option
|
||||||
|
@option{--destdir} above).
|
||||||
|
|
||||||
@item -l
|
@item -l
|
||||||
@itemx --lzip-verbose
|
@itemx --lzip-verbose
|
||||||
|
|
4
rc.cc
4
rc.cc
|
@ -1,5 +1,5 @@
|
||||||
/* Zutils - Utilities dealing with compressed files
|
/* Zutils - Utilities dealing with compressed files
|
||||||
Copyright (C) 2009-2022 Antonio Diaz Diaz.
|
Copyright (C) 2009-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -37,7 +37,7 @@ int verbosity = 0;
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
const char * const config_file_name = "zutils.conf";
|
const char * const config_file_name = "zutils.conf";
|
||||||
const char * const program_year = "2022";
|
const char * const program_year = "2023";
|
||||||
|
|
||||||
std::string compressor_names[num_formats] =
|
std::string compressor_names[num_formats] =
|
||||||
{ "bzip2", "gzip", "lzip", "xz", "zstd" }; // default compressor names
|
{ "bzip2", "gzip", "lzip", "xz", "zstd" }; // default compressor names
|
||||||
|
|
2
rc.h
2
rc.h
|
@ -1,5 +1,5 @@
|
||||||
/* Zutils - Utilities dealing with compressed files
|
/* Zutils - Utilities dealing with compressed files
|
||||||
Copyright (C) 2009-2022 Antonio Diaz Diaz.
|
Copyright (C) 2009-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Zutils - Utilities dealing with compressed files
|
/* Zutils - Utilities dealing with compressed files
|
||||||
Copyright (C) 2009-2022 Antonio Diaz Diaz.
|
Copyright (C) 2009-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# check script for Zutils - Utilities dealing with compressed files
|
# check script for Zutils - Utilities dealing with compressed files
|
||||||
# Copyright (C) 2009-2022 Antonio Diaz Diaz.
|
# Copyright (C) 2009-2023 Antonio Diaz Diaz.
|
||||||
#
|
#
|
||||||
# This script is free software: you have unlimited permission
|
# This script is free software: you have unlimited permission
|
||||||
# to copy, distribute, and modify it.
|
# to copy, distribute, and modify it.
|
||||||
|
|
2
zcat.cc
2
zcat.cc
|
@ -1,5 +1,5 @@
|
||||||
/* Zcat - decompress and concatenate files to standard output
|
/* Zcat - decompress and concatenate files to standard output
|
||||||
Copyright (C) 2010-2022 Antonio Diaz Diaz.
|
Copyright (C) 2010-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Common code for zcat and zgrep
|
/* Common code for zcat and zgrep
|
||||||
Copyright (C) 2010-2022 Antonio Diaz Diaz.
|
Copyright (C) 2010-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
2
zcmp.cc
2
zcmp.cc
|
@ -1,5 +1,5 @@
|
||||||
/* Zcmp - decompress and compare two files byte by byte
|
/* Zcmp - decompress and compare two files byte by byte
|
||||||
Copyright (C) 2010-2022 Antonio Diaz Diaz.
|
Copyright (C) 2010-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Common code for zcmp and zdiff
|
/* Common code for zcmp and zdiff
|
||||||
Copyright (C) 2010-2022 Antonio Diaz Diaz.
|
Copyright (C) 2010-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
2
zdiff.cc
2
zdiff.cc
|
@ -1,5 +1,5 @@
|
||||||
/* Zdiff - decompress and compare two files line by line
|
/* Zdiff - decompress and compare two files line by line
|
||||||
Copyright (C) 2010-2022 Antonio Diaz Diaz.
|
Copyright (C) 2010-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
2
zgrep.cc
2
zgrep.cc
|
@ -1,5 +1,5 @@
|
||||||
/* Zgrep - search compressed files for a regular expression
|
/* Zgrep - search compressed files for a regular expression
|
||||||
Copyright (C) 2010-2022 Antonio Diaz Diaz.
|
Copyright (C) 2010-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
2
ztest.cc
2
ztest.cc
|
@ -1,5 +1,5 @@
|
||||||
/* Ztest - verify the integrity of compressed files
|
/* Ztest - verify the integrity of compressed files
|
||||||
Copyright (C) 2010-2022 Antonio Diaz Diaz.
|
Copyright (C) 2010-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Zupdate - recompress bzip2, gzip, xz, zstd files to lzip format
|
/* Zupdate - recompress bzip2, gzip, xz, zstd files to lzip format
|
||||||
Copyright (C) 2013-2022 Antonio Diaz Diaz.
|
Copyright (C) 2013-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -79,7 +79,7 @@ void show_help()
|
||||||
" -h, --help display this help and exit\n"
|
" -h, --help display this help and exit\n"
|
||||||
" -V, --version output version information and exit\n"
|
" -V, --version output version information and exit\n"
|
||||||
" -d, --destdir=<dir> write recompressed files into <dir>\n"
|
" -d, --destdir=<dir> write recompressed files into <dir>\n"
|
||||||
" -e, --expand-extensions expand combined extensions; tgz -> tar.lz\n"
|
" -e, --expand-extensions expand combined extensions; tgz --> tar.lz\n"
|
||||||
" -f, --force don't skip a file even if the .lz exists\n"
|
" -f, --force don't skip a file even if the .lz exists\n"
|
||||||
" -i, --ignore-errors ignore non-fatal errors\n"
|
" -i, --ignore-errors ignore non-fatal errors\n"
|
||||||
" -k, --keep keep (don't delete) input files\n"
|
" -k, --keep keep (don't delete) input files\n"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Zutils - Utilities dealing with compressed files
|
/* Zutils - Utilities dealing with compressed files
|
||||||
Copyright (C) 2009-2022 Antonio Diaz Diaz.
|
Copyright (C) 2009-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
2
zutils.h
2
zutils.h
|
@ -1,5 +1,5 @@
|
||||||
/* Zutils - Utilities dealing with compressed files
|
/* Zutils - Utilities dealing with compressed files
|
||||||
Copyright (C) 2009-2022 Antonio Diaz Diaz.
|
Copyright (C) 2009-2023 Antonio Diaz Diaz.
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
|
Loading…
Add table
Reference in a new issue