summaryrefslogtreecommitdiff
path: root/usr/src/man/man1/compress.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man1/compress.1')
-rw-r--r--usr/src/man/man1/compress.155
1 files changed, 10 insertions, 45 deletions
diff --git a/usr/src/man/man1/compress.1 b/usr/src/man/man1/compress.1
index 57046e4136..84e04a611f 100644
--- a/usr/src/man/man1/compress.1
+++ b/usr/src/man/man1/compress.1
@@ -1,15 +1,15 @@
'\" te
-.\" Copyright 1989 AT&T
+.\" Copyright 1989 AT&T
.\" Copyright (c) 2008 Sun Microsystems, Inc. All Rights Reserved
.\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved
-.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
+.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
.\" http://www.opengroup.org/bookstore/.
.\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
.\" This notice shall appear on any product containing this material.
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH compress 1 "13 Mar 2008" "SunOS 5.11" "User Commands"
+.TH COMPRESS 1 "Mar 13, 2008"
.SH NAME
compress, uncompress, zcat \- compress, uncompress files or display expanded
files
@@ -80,12 +80,10 @@ that have been compressed using \fBcompress\fR. It is the equivalent of
The following options are supported:
.sp
.ne 2
-.mk
.na
\fB\fB-b\fR \fIbits\fR\fR
.ad
.RS 11n
-.rt
Sets the upper limit (in bits) for common substring codes. \fIbits\fR must be
between 9 and 16 (16 is the default). Lowering the number of bits result in
larger, less compressed files.
@@ -93,12 +91,10 @@ larger, less compressed files.
.sp
.ne 2
-.mk
.na
\fB\fB-c\fR\fR
.ad
.RS 11n
-.rt
Writes to the standard output; no files are changed and no \fB\&.Z\fR files are
created. The behavior of \fBzcat\fR is identical to that of `\fBuncompress\fR
\fB-c\fR'.
@@ -106,12 +102,10 @@ created. The behavior of \fBzcat\fR is identical to that of `\fBuncompress\fR
.sp
.ne 2
-.mk
.na
\fB\fB-f\fR\fR
.ad
.RS 11n
-.rt
When compressing, forces compression of \fIfile\fR, even if it does not
actually reduce the size of the file, or if the corresponding
\fIfile\fR\fB\&.Z\fR file already exists.
@@ -128,24 +122,20 @@ standard error and exits with a status greater than \fB0\fR.
.sp
.ne 2
-.mk
.na
\fB\fB-v\fR\fR
.ad
.RS 11n
-.rt
Verbose. Writes to standard error messages concerning the percentage reduction
or expansion of each file.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB-/\fR\fR
.ad
.RS 11n
-.rt
When compressing or decompressing, copies any extended system attributes
associated with the source file to the target file and copies any extended
system attributes associated with extended attributes of the source file to the
@@ -161,12 +151,10 @@ diagnostic is written to \fBstderr\fR, and the final exit status is
The following operand is supported:
.sp
.ne 2
-.mk
.na
\fB\fIfile\fR\fR
.ad
.RS 8n
-.rt
A path name of a file to be compressed by \fBcompress\fR, uncompressed by
\fBuncompress\fR, or whose uncompressed form is written to standard out by
\fBzcat\fR. If \fIfile\fR is \fB\(mi\fR, or if no \fIfile\fR is specified, the
@@ -202,46 +190,38 @@ expression defined for the \fByesexpr\fR. See \fBlocale\fR(5).
The following error values are returned:
.sp
.ne 2
-.mk
.na
\fB\fB0\fR\fR
.ad
.RS 6n
-.rt
Successful completion.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB1\fR\fR
.ad
.RS 6n
-.rt
An error occurred.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB2\fR\fR
.ad
.RS 6n
-.rt
One or more files were not compressed because they would have increased in size
(and the \fB-f\fR option was not specified).
.RE
.sp
.ne 2
-.mk
.na
\fB\fB>2\fR\fR
.ad
.RS 6n
-.rt
An error occurred.
.RE
@@ -253,17 +233,16 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-CSIEnabled
+CSI Enabled
_
-Interface StabilityCommitted
+Interface Stability Committed
_
-StandardSee \fBstandards\fR(5).
+Standard See \fBstandards\fR(5).
.TE
.SH SEE ALSO
@@ -275,7 +254,6 @@ StandardSee \fBstandards\fR(5).
.SH DIAGNOSTICS
.sp
.ne 2
-.mk
.na
\fBUsage: \fBcompress [-fv/] [-b\fR \fIbits\fR] [\fIfile\fR\|.\|.\|. ]\fR
.ad
@@ -290,7 +268,6 @@ Invalid options were specified on the command line.
.sp
.ne 2
-.mk
.na
\fBUsage: \fBuncompress [-fv] [-c | -/] [\fR\fIfile\fR\fB]...\fR\fR
.ad
@@ -301,7 +278,6 @@ Invalid options were specified on the command line.
.sp
.ne 2
-.mk
.na
\fBMissing maxbits\fR
.ad
@@ -312,7 +288,6 @@ Maxbits must follow \fB-b\fR, or invalid maxbits, not a numeric value.
.sp
.ne 2
-.mk
.na
\fB\fIfile\fR: not in compressed format\fR
.ad
@@ -323,7 +298,6 @@ The file specified to \fBuncompress\fR has not been compressed.
.sp
.ne 2
-.mk
.na
\fB\fIfile\fR: compressed with \fIxx\fRbits, can only handle \fIyy\fRbits\fR
.ad
@@ -336,7 +310,6 @@ than the compress code on this machine. Recompress the file with smaller
.sp
.ne 2
-.mk
.na
\fB\fIfile\fR: already has .\|Z suffix -- no change\fR
.ad
@@ -347,7 +320,6 @@ The file is assumed to be already compressed. Rename the file and try again.
.sp
.ne 2
-.mk
.na
\fB\fIfile\fR: already exists; do you wish to overwrite (y or n)?\fR
.ad
@@ -358,7 +330,6 @@ Respond \fBy\fR if you want the output file to be replaced; \fBn\fR if not.
.sp
.ne 2
-.mk
.na
\fBuncompress: corrupt input\fR
.ad
@@ -370,7 +341,6 @@ is corrupted.
.sp
.ne 2
-.mk
.na
\fBCompression:\fIxx.xx\fR\fB%\fR\fR
.ad
@@ -381,7 +351,6 @@ Percentage of the input saved by compression. (Relevant only for \fB-v\fR.)
.sp
.ne 2
-.mk
.na
\fB- - not a regular file: unchanged\fR
.ad
@@ -393,7 +362,6 @@ unaltered.
.sp
.ne 2
-.mk
.na
\fB- - has \fIxx\fR other links: unchanged\fR
.ad
@@ -405,7 +373,6 @@ information.
.sp
.ne 2
-.mk
.na
\fB- - file unchanged\fR
.ad
@@ -416,7 +383,6 @@ No savings are achieved by compression. The input remains uncompressed.
.sp
.ne 2
-.mk
.na
\fB- -filename too long to tack on .Z\fR
.ad
@@ -427,7 +393,6 @@ The path name is too long to append the \fB\&.Z\fR suffix.
.sp
.ne 2
-.mk
.na
\fB- -cannot preserve extended attributes. file unchanged\fR
.ad