summaryrefslogtreecommitdiff
path: root/usr.bin/compress
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/compress')
-rw-r--r--usr.bin/compress/compress.120
1 files changed, 13 insertions, 7 deletions
diff --git a/usr.bin/compress/compress.1 b/usr.bin/compress/compress.1
index 46e9c1404ad..77ba87317dd 100644
--- a/usr.bin/compress/compress.1
+++ b/usr.bin/compress/compress.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: compress.1,v 1.45 2010/09/03 11:09:28 jmc Exp $
+.\" $OpenBSD: compress.1,v 1.46 2014/01/26 21:18:16 jmc Exp $
.\" $NetBSD: compress.1,v 1.5 1995/03/26 09:44:34 glass Exp $
.\"
.\" Copyright (c) 1986, 1990, 1993
@@ -34,7 +34,7 @@
.\"
.\" @(#)compress.1 8.2 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: September 3 2010 $
+.Dd $Mdocdate: January 26 2014 $
.Dt COMPRESS 1
.Os
.Sh NAME
@@ -330,8 +330,8 @@ The
.Nm uncompress
and
.Nm zcat
-utilities exit with 0 on success; 1 if an error occurred;
-or 2 if a warning occurred.
+utilities exit 0 on success,
+and >0 if an error occurs.
.Sh SEE ALSO
.Xr gzexe 1 ,
.Xr gzip 1 ,
@@ -340,7 +340,6 @@ or 2 if a warning occurred.
.Xr zmore 1 ,
.Xr znew 1 ,
.Xr compress 3
-.Pp
.Rs
.%A Welch, Terry A.
.%D June, 1984
@@ -356,7 +355,8 @@ The
and
.Nm zcat
utilities are compliant with the
-.St -xpg4
+X/Open System Interfaces option of the
+.St -p1003.1-2008
specification.
.Pp
The
@@ -365,12 +365,18 @@ flags
.Op Fl 123456789dghLlNnOoqrStV ,
.Nm uncompress
flags
-.Op Fl hlNnoqrt ,
+.Op Fl hlNnoqrtV ,
and the
.Nm zcat
flags
.Op Fl fghqr
are extensions to that specification.
+.Pp
+.St -p1003.1-2008
+specifies a maximum bits limit
+.Pq Fl b
+of 14 to
+.Qq achieve portability to all systems .
.Sh HISTORY
The
.Nm