Print this page
12284 errors in compress(1) and pack(1) man pages
*** 23,38 ****
compress
The compress utility attempts to reduce the size of the named files by
using adaptive Lempel-Ziv coding. Except when the output is to the
standard output, each file is replaced by one with the extension .Z,
while keeping the same ownership modes, change times and modification
! times, ACLs, and extended attributes. The compress utility also attempt
! to set the owner and group of file.z to the owner and group of file,
! but does not fail if this cannot be done. If appending the .Z to the
! file pathname would make the pathname exceed 1023 bytes, the command
! fails. If no files are specified, the standard input is compressed to
! the standard output.
The amount of compression obtained depends on the size of the input,
the number of bits per code, and the distribution of common substrings.
Typically, text such as source code or English is reduced by 50-60%.
--- 23,38 ----
compress
The compress utility attempts to reduce the size of the named files by
using adaptive Lempel-Ziv coding. Except when the output is to the
standard output, each file is replaced by one with the extension .Z,
while keeping the same ownership modes, change times and modification
! times, ACLs, and extended attributes. The compress utility also
! attempts to set the owner and group of file.Z to the owner and group of
! file, but does not fail if this cannot be done. If appending the .Z to
! the file pathname would make the pathname exceed 1023 bytes, the
! command fails. If no files are specified, the standard input is
! compressed to the standard output.
The amount of compression obtained depends on the size of the input,
the number of bits per code, and the distribution of common substrings.
Typically, text such as source code or English is reduced by 50-60%.
*** 54,64 ****
supports 9- to 16-bit compression (see -b).
zcat
The zcat utility writes to standard output the uncompressed form of
files that have been compressed using compress. It is the equivalent of
! uncompress-c. Input files are not affected.
OPTIONS
The following options are supported:
-b bits
--- 54,64 ----
supports 9- to 16-bit compression (see -b).
zcat
The zcat utility writes to standard output the uncompressed form of
files that have been compressed using compress. It is the equivalent of
! uncompress -c. Input files are not affected.
OPTIONS
The following options are supported:
-b bits
*** 118,128 ****
USAGE
See largefile(5) for the description of the behavior of compress,
uncompress, and zcat when encountering files greater than or equal to 2
! Gbyte ( 2^31 bytes).
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables
that affect the execution of compress, uncompress, and zcat: LANG,
LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES, and NLSPATH.
--- 118,128 ----
USAGE
See largefile(5) for the description of the behavior of compress,
uncompress, and zcat when encountering files greater than or equal to 2
! Gbyte (2^31 bytes).
ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables
that affect the execution of compress, uncompress, and zcat: LANG,
LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES, and NLSPATH.
*** 177,188 ****
SEE ALSO
ln(1), pack(1), fgetattr(3C), fsetattr(3C), attributes(5), environ(5),
largefile(5), locale(5), standards(5)
DIAGNOSTICS
! Usage: compress [-fv/] [-b bits] [file... ]
! compress c [-fv] [-b bits] [file... ]
Invalid options were specified on the command line.
Usage: uncompress [-fv] [-c | -/] [file]...
--- 177,188 ----
SEE ALSO
ln(1), pack(1), fgetattr(3C), fsetattr(3C), attributes(5), environ(5),
largefile(5), locale(5), standards(5)
DIAGNOSTICS
! Usage: compress [-fv/] [-b maxbits] [file... ]
! compress c [-fv] [-b maxbits] [file]
Invalid options were specified on the command line.
Usage: uncompress [-fv] [-c | -/] [file]...
*** 211,221 ****
The file is assumed to be already compressed. Rename the file and
try again.
! file: already exists; do you wish to overwrite (y or n)?
Respond y if you want the output file to be replaced; n if not.
uncompress: corrupt input
--- 211,221 ----
The file is assumed to be already compressed. Rename the file and
try again.
! file already exists; do you wish to overwrite (yes or no)?
Respond y if you want the output file to be replaced; n if not.
uncompress: corrupt input
*** 266,271 ****
compress should be more flexible about the existence of the .Z suffix.
! March 13, 2008 COMPRESS(1)
--- 266,271 ----
compress should be more flexible about the existence of the .Z suffix.
! February 5, 2020 COMPRESS(1)