Commit Graph

17 Commits

Author SHA1 Message Date
mrg
a9c239e635 - the default compression level in GNU gzip is 6 not 5; copy that default.
- note that -t/-l/-v & bzip2 is not handled the same as gzip in a comment.
2004-04-27 11:26:28 +00:00
mrg
b02eba12c2 crank version. 2004-04-27 02:25:06 +00:00
mrg
1d0e9794a0 significantly rototill. don't use the high-level gzio functions
anymore, use the low-level inflate()/deflate() directly.  this
allows support file-type detection on stdin; now can decompress
.Z and .bz2 files fed to stdin (fixes PR#25192) additionally it
makes -v work with stdin or stdout (fixes PR#25215.)

(with these changes, we no longer need gzopenfull(3) in libz.)

thanks to martin@ for the code gzip.c:gz_uncompress() is based on.
2004-04-25 16:20:33 +00:00
wiz
15d66087e7 Mention compress(1) support, and add bzip2(1) and compress(1) to SEE ALSO.
Bump date.
2004-02-18 09:16:27 +00:00
wiz
75806e5a61 Sort sections. New sentence, new line. Bump date. 2004-01-02 03:01:13 +00:00
mrg
0b76a77c33 implement $GZIP handling. 2004-01-02 02:55:26 +00:00
wiz
a8763d1922 .P -> .Pp (typo fix). 2004-01-01 03:51:36 +00:00
mrg
ecadec7f36 port simonb's bzip2 support.
misc cleanups.
2004-01-01 02:44:09 +00:00
wiz
67ae4b51b8 .Pp\n.Pp -> .Pp. 2003-12-26 15:24:00 +00:00
mrg
63f41c4e03 --long-options are supported 2003-12-26 15:21:05 +00:00
wiz
cf79907567 New sentence, new line; avoid &; uppercase CRC. 2003-12-26 15:18:54 +00:00
mrg
f737ab4d3e bump .Dd 2003-12-26 15:16:05 +00:00
mrg
a4624b06a5 - document --list
- use unsigned char's that are used in unsigned calculations later.
2003-12-26 15:15:49 +00:00
wiz
f239211326 Sort options; no spaces at EOL; limit line lengths.
Fix one typo.
2003-12-23 23:20:37 +00:00
mrg
75fa5559f5 - make this WARNS=3 happy
- add RCSID()
- document the version number
2003-12-23 15:02:40 +00:00
jdolecek
23c869fe88 fix markup of --suffix option
add zlib(3) xref also to SEE ALSO
2003-12-23 08:19:49 +00:00
mrg
4084ec5402 import distrib/utils/x_gzip into usr.bin/gzip, with these enhancements:
- fully updated manual
	- -n/-N support
	- time stamp/owner/etc saved properly
	- GNU gzip --long-options supported (missing --ascii, --list
	  and --licence)
	- various cleanups & fixes

note that "-n" (save filename) support is currently disabled due to
depending on API changes in zlib.  for now, this support is disabled
(however "gzip -N -d" works.)

this gzip(1) replacement is ready for serious testing.  issues are:
	- might implement --list one day
	- zlib API addition
2003-12-23 05:16:31 +00:00