1
0
mirror of https://git.tukaani.org/xz.git synced 2025-03-25 09:50:41 +00:00

Scripts: Mark the LZMA Utils script aliases as deprecated

The deprecated aliases are lzcmp, lzdiff, lzless, lzmore,
lzgrep, lzegrep, and lzfgrep. The commands that start with
the xz prefix have identical behavior, for example, both
lzgrep and xzgrep handle all supported file formats.

This doesn't affect lzma, unlzma, lzcat, lzmadec, or lzmainfo.
The last release of LZMA Utils was made in 2008, but the lzma
compatibility alias for the gzip-like tool is still in common use.
Deprecating it would cause unnecessary breakage.
This commit is contained in:
Lasse Collin 2025-03-06 16:34:32 +02:00
parent 4941ea454c
commit 051de255f0
No known key found for this signature in database
GPG Key ID: 38EE757D69184620
4 changed files with 15 additions and 4 deletions

View File

@ -5,7 +5,7 @@
.\"
.\" (Note that this file is not based on gzip's zdiff.1.)
.\"
.TH XZDIFF 1 "2024-02-13" "Tukaani" "XZ Utils"
.TH XZDIFF 1 "2025-03-06" "Tukaani" "XZ Utils"
.SH NAME
xzcmp, xzdiff, lzcmp, lzdiff \- compare compressed files
.
@ -20,9 +20,11 @@ xzcmp, xzdiff, lzcmp, lzdiff \- compare compressed files
.br
.B lzcmp
\&...
(DEPRECATED)
.br
.B lzdiff
\&...
(DEPRECATED)
.
.SH DESCRIPTION
.B xzcmp
@ -75,6 +77,7 @@ The commands
and
.B lzdiff
are provided for backward compatibility with LZMA Utils.
They are deprecated and will be removed in a future version.
.
.SH EXIT STATUS
If a decompression error occurs, the exit status is

View File

@ -5,7 +5,7 @@
.\"
.\" (Note that this file is not based on gzip's zgrep.1.)
.\"
.TH XZGREP 1 "2024-02-13" "Tukaani" "XZ Utils"
.TH XZGREP 1 "2025-03-06" "Tukaani" "XZ Utils"
.SH NAME
xzgrep \- search possibly-compressed files for patterns
.
@ -23,12 +23,15 @@ xzgrep \- search possibly-compressed files for patterns
.br
.B lzgrep
\&...
(DEPRECATED)
.br
.B lzegrep
\&...
(DEPRECATED)
.br
.B lzfgrep
\&...
(DEPRECATED)
.
.SH DESCRIPTION
.B xzgrep
@ -106,6 +109,7 @@ The commands
and
.B lzfgrep
are provided for backward compatibility with LZMA Utils.
They are deprecated and will be removed in a future version.
.
.SH EXIT STATUS
.TP

View File

@ -5,7 +5,7 @@
.\"
.\" (Note that this file is not based on gzip's zless.1.)
.\"
.TH XZLESS 1 "2024-02-12" "Tukaani" "XZ Utils"
.TH XZLESS 1 "2025-03-06" "Tukaani" "XZ Utils"
.SH NAME
xzless, lzless \- view xz or lzma compressed (text) files
.SH SYNOPSIS
@ -14,6 +14,7 @@ xzless, lzless \- view xz or lzma compressed (text) files
.br
.B lzless
.RI [ file ...]
(DEPRECATED)
.SH DESCRIPTION
.B xzless
is a filter that displays text from compressed files to a terminal.
@ -47,6 +48,7 @@ manual for more information.
The command named
.B lzless
is provided for backward compatibility with LZMA Utils.
It is deprecated and will be removed in a future version.
.SH ENVIRONMENT
.TP
.B LESSMETACHARS

View File

@ -5,7 +5,7 @@
.\"
.\" (Note that this file is based on xzless.1 instead of gzip's zmore.1.)
.\"
.TH XZMORE 1 "2024-02-12" "Tukaani" "XZ Utils"
.TH XZMORE 1 "2025-03-06" "Tukaani" "XZ Utils"
.SH NAME
xzmore, lzmore \- view xz or lzma compressed (text) files
.
@ -15,6 +15,7 @@ xzmore, lzmore \- view xz or lzma compressed (text) files
.br
.B lzmore
.RI [ file ...]
(DEPRECATED)
.
.SH DESCRIPTION
.B xzmore
@ -48,6 +49,7 @@ which provides more advanced features.
The command
.B lzmore
is provided for backward compatibility with LZMA Utils.
It is deprecated and will be removed in a future version.
.
.SH ENVIRONMENT
.TP