mrg
6506e19a17
minor cleanup.
2004-03-06 09:41:36 +00:00
he
2f8028b1b0
Fix mismatched type error in fropen() usage by converting return
...
type of zread() from ssize_t to int.
2004-02-18 18:29:07 +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
mrg
91d1fa9407
support decompressing "compress"ed files. from rtr@ with a few minor edits
...
from me. code in zuncompress liberally borrowed from usr.bin/compress.
2004-02-18 08:19:48 +00:00
mrg
49637d1931
use gzopenfull()
2004-01-29 13:18:58 +00:00
grant
23032f5513
void functions need not call return
2004-01-25 05:19:49 +00:00
jmmv
b635f565e7
Homogenize usage messages: make the 'usage' word all lowercase, as this seems
...
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
mrg
d8d414bd77
prepend_gzip: avoid searching beyond this string
2004-01-03 02:39:18 +00:00
simonb
95a042fe31
Fix off-by-one error in the malloc of the new argv in prepend_gzip().
2004-01-02 10:09:42 +00:00
wiz
7569ff6812
Fix typo in comment.
2004-01-02 03:12:21 +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
mrg
91536bce55
note that $GZIP support is missing still
2004-01-02 01:40:59 +00:00
mrg
74e9c5767a
allow HAVE_ZLIB_GZOPENFULL to be overriden externally
2004-01-02 01:34:01 +00:00
mrg
e4b2fd8644
don't dump core in the face of unknown long options. from cjep@
2004-01-01 05:28:44 +00:00
wiz
a8763d1922
.P -> .Pp (typo fix).
2004-01-01 03:51:36 +00:00
mrg
09e6110c19
add some simple -DSMALL support. reduces the size of gzip(1) itself a by
...
nearly 2.5KB text.
2004-01-01 02:58:36 +00:00
mrg
ecadec7f36
port simonb's bzip2 support.
...
misc cleanups.
2004-01-01 02:44:09 +00:00
wiz
e000293cc0
Add RCS Id.
2003-12-28 17:26:48 +00:00
wiz
6ac2a4f4db
Add a BSD licensed zgrep written by me.
...
Much nicer than the old one, if I may say so.
Thanks go to atatat for testing and suggestions.
2003-12-28 17:26:00 +00:00
mrg
0889156103
GNU gzip compatibility: don't let "gzip -dc" (zcat) operate on non-gzip
...
files by default. -f must be used.
2003-12-28 13:42:28 +00:00
mrg
f13009df25
fix an error in the previous
2003-12-28 13:40:56 +00:00
mrg
7530d0a53d
zdiff is also zcmp (from wiz)
2003-12-28 13:37:23 +00:00
wiz
98018344b7
No argument necessary after .Nm; add missing comma to enumeration.
2003-12-28 12:49:41 +00:00
wiz
28c2ebe997
Use more macros.
2003-12-28 12:48:03 +00:00
wiz
18a6b94f65
Uppercase CRT.
2003-12-28 12:47:52 +00:00
wiz
3a92ef57da
Add RCS Id.
2003-12-28 12:43:43 +00:00
mrg
ff7efa72db
install gzexe, zdiff, zforce, zmore and znew scripts and manual pages.
...
XXX: now only missing zgrep.
2003-12-28 12:37:42 +00:00
mrg
5ddb436023
import openbsd z* scripts and manuals.
2003-12-28 12:31:55 +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
mrg
9e3ca570b9
support gzip -l -v.
2003-12-26 15:06:16 +00:00
mrg
88899e3372
- print totals for --list.
...
- round down percentages, like GNU gzip does
- use "stdout" not "-", like GNU gzip does
- factor percent calculation code.
2003-12-26 14:49:37 +00:00
mrg
78b17b7b2b
begin to start to support --list.
2003-12-26 14:11:01 +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
jdolecek
3c67b87463
some const-poisoing, depend on bss to set gzipflags[]
2003-12-23 08:11:58 +00:00
jdolecek
1740f0282b
remove one extra backslash from MLINKS
2003-12-23 07:56:01 +00:00
mrg
0a1b09ba9c
install gunzip, zcat & gzcat links.
2003-12-23 06:23:32 +00:00
mrg
874b680779
delete unused variables
2003-12-23 06:23:18 +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