diff options
author | Johan Karlsson <johan@FreeBSD.org> | 2002-10-03 19:30:22 +0000 |
---|---|---|
committer | Johan Karlsson <johan@FreeBSD.org> | 2002-10-03 19:30:22 +0000 |
commit | 208464c323c6ae84c03248aadefb0848a30af280 (patch) | |
tree | 25906745c66eca251888a360f0f08c960796234d /usr.bin/minigzip/minigzip.1 | |
parent | d3749f0c2bba7d3a6e9b5ffb1e0d91e19d2470bc (diff) |
Actually implement gzip's -c option. minigzip now also doubles
as zcat properly.
PR: 13043
Submitted by: Toshihiko ARAI <toshi@jp.freebsd.org>
Jonathan Towne <jontow@twcny.rr.com>
Approved by: peter, sheldonh (mentor)
MFC After: 2 weeks
Notes
Notes:
svn path=/head/; revision=104418
Diffstat (limited to 'usr.bin/minigzip/minigzip.1')
-rw-r--r-- | usr.bin/minigzip/minigzip.1 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/usr.bin/minigzip/minigzip.1 b/usr.bin/minigzip/minigzip.1 index 0bfe89964ea5..7759296d6acd 100644 --- a/usr.bin/minigzip/minigzip.1 +++ b/usr.bin/minigzip/minigzip.1 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 13, 1997 +.Dd October 3, 2002 .Dt MINIGZIP 1 .Os .Sh NAME @@ -32,7 +32,7 @@ .Nd minimal implementation of the 'gzip' compression tool .Sh SYNOPSIS .Nm -.Op Fl d +.Op Fl cd .Op Ar .Sh DESCRIPTION The @@ -64,6 +64,13 @@ arguments are supplied, .Nm reads from standard input and writes the results of the operation to standard output. +.Pp +If the +.Fl c +option is specified, +.Nm +writes the results to standard output and keep the original files +unchanged. .Sh SEE ALSO .Xr gzip 1 .Sh AUTHORS |