.TH znew "" "" "Command"
.PC "Recompress .Z files to .gz files"
\fBznew [ \-ftv9PK ] [ \fIfile\^\fB.Z ...  ]\fR
.PP
.HS
.SH Options:
.IC \fB\-f\fR
Force recompression
.IC \fB\-t\fR
Test the new files before deleting originals
.IC \fB\-v\fR
Verbose mode
.IC \fB\-9\fR
Use the slowest, most thorough compression method (optimal compression)
.IC \fB\-P\fR
Use pipes for the conversion, to reduce disk space usage
.IC \fB\-K\fR
Keep the \fB.Z\fR file when it is smaller than the \fB.gz\fR file
.HE
The command
.B znew
recompresses files from
.B .Z
(\fBcompress\fR) format to
.B .gz
(\fBgzip\fR) format.
.PP
.B znew
recognizes the following command-line options:
.IP \fB\-9\fR 0.3i
Use the slowest, most thorough compression method.
.IP \fB\-f\fR
Force recompression of
.I file
even if
.IB file .gz
already exists.
.IP \fB\-K\fR
Keep a
.B .Z
file when it is smaller than the
.B .gz
file.
.IP \fB\-P\fR
Use pipes for the conversion to reduce disk space usage.
.IP \fB\-t\fR
Test the new files before deleting the originals.
.IP \fB\-v\fR
Verbose mode:
display the name and percent by which the size of each recompressed is reduced.
.SH "See Also"
.Xr "commands," commands
.Xr "gzip" gzip
.SH Notes
To recompress a file already in
.B gzip
format, rename the file to replace the suffix
.B .gz
with the suffix
.BR .Z ,
and then invoke
.BR znew .
.PP
.B znew
does not maintain the time stamp if you invoke it with command-line option
.BR \-P .
