summaryrefslogtreecommitdiff
path: root/usr.bin/compress/compress.1
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2003-09-05 04:46:36 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2003-09-05 04:46:36 +0000
commit2378d32bb8f4b89cafeaf11ef4edbc1ef3bf583f (patch)
treefcbb898be584fc113114361b11096739976805f6 /usr.bin/compress/compress.1
parentd4d927905b23d313d6c74fe7fd875f18739146f6 (diff)
add a null compressor from canacar@ that lets gzcat work with uncompressed
files. also introduce SMALLness that removes null and Z compressors to save floppy space. ok deraadt@
Diffstat (limited to 'usr.bin/compress/compress.1')
-rw-r--r--usr.bin/compress/compress.111
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.bin/compress/compress.1 b/usr.bin/compress/compress.1
index f97eff0fd8c..c8a651c1f26 100644
--- a/usr.bin/compress/compress.1
+++ b/usr.bin/compress/compress.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: compress.1,v 1.26 2003/08/16 23:43:06 millert Exp $
+.\" $OpenBSD: compress.1,v 1.27 2003/09/05 04:46:35 tedu Exp $
.\" $NetBSD: compress.1,v 1.5 1995/03/26 09:44:34 glass Exp $
.\"
.\" Copyright (c) 1986, 1990, 1993
@@ -178,6 +178,15 @@ Force compression of
.Ar file ,
even if it is not actually reduced in size.
Additionally, files are overwritten without prompting for confirmation.
+If the input data is not in a format recognized by
+.Nm
+and if the option
+.Fl c
+is also given, copy the input data without change
+to the standard ouput: let
+.Nm zcat
+behave as
+.Nm cat .
.It Fl g
Use deflate scheme which reportedly provides better compression rates (force
.Nm gzip