OpenBSD CVS

CVS log for src/usr.bin/compress/compress.1


[BACK] Up to [local] / src / usr.bin / compress

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.49 / (download) - annotate - [select for diffs], Sat Oct 22 14:41:27 2022 UTC (19 months, 1 week ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.48: +17 -6 lines
Diff to previous 1.48 (colored) to selected 1.44 (colored)

Add support to gunzip for zip files that contain a single member.
This matches the behavior of GNU gzip and is most useful with "gunzip
-c" to pipe the uncompressed output.  It will not decompress a file
with more than one member unless in cat mode, in which case only
the first file is displayed.

To decompress a .zip file without the -c option, "-S .zip" must be
specified. The file name stored in the .zip file is not used unless
the -N option is specified. This is consistent with GNU gzip).

Does not increase the size of gzip on the install media.
OK jmc@ for documentation.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Mar 17 14:23:50 2014 UTC (10 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.47: +3 -8 lines
Diff to previous 1.47 (colored) to selected 1.44 (colored)

use Ex;

Revision 1.47 / (download) - annotate - [select for diffs], Mon Jan 27 16:57:55 2014 UTC (10 years, 4 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.46: +6 -12 lines
Diff to previous 1.46 (colored) to selected 1.44 (colored)

remove the no-op flags -L and -V from compress(1), these options
come from GNU zip and they were never in compress(1) until we added
gzip(1) support to it.

joint work with jmc@ and millert@; millert@ will do the rest.

ok jmc@, millert@

Revision 1.46 / (download) - annotate - [select for diffs], Sun Jan 26 21:18:16 2014 UTC (10 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.45: +13 -7 lines
Diff to previous 1.45 (colored) to selected 1.44 (colored)

- document for uncompress and zcat exit status of 0 or >0 only
- kill an unneccessary Pp that created double vertical space
- mention that posix marks these apps xsi
- add uncompress -V to the list of extensions
- document that posix stipulates a limit of 14 for -b, even though it
permits 15 and 16

ok sobrado millert

Revision 1.45 / (download) - annotate - [select for diffs], Fri Sep 3 11:09:28 2010 UTC (13 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

add an EXIT STATUS section for /usr/bin;

Revision 1.44 / (download) - annotate - [selected], Thu Jul 22 07:38:56 2010 UTC (13 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.43: +21 -4 lines
Diff to previous 1.43 (colored)

document exit returns; from daniel dickman

Revision 1.43 / (download) - annotate - [select for diffs], Sat Apr 18 18:21:54 2009 UTC (15 years, 1 month ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored) to selected 1.44 (colored)

allow -V (show version) in decompression mode; ok millert@

Revision 1.42 / (download) - annotate - [select for diffs], Tue Feb 10 19:24:17 2009 UTC (15 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) to selected 1.44 (colored)

STANDARDS:
mark these utilities as being either optional (SD/FR/UP); or as
being compliant only with XPG4 (XSI); strip.1 and talk.1 are tweaked
purely for consistency;

thanks otto for feedback

Revision 1.41 / (download) - annotate - [select for diffs], Sun Feb 8 17:15:09 2009 UTC (15 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored) to selected 1.44 (colored)

bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a few
updates to follow;

Revision 1.40 / (download) - annotate - [select for diffs], Sun Feb 8 16:44:32 2009 UTC (15 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored) to selected 1.44 (colored)

some minor corrections for the STANDARDS section;

Revision 1.39 / (download) - annotate - [select for diffs], Thu May 31 19:20:08 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored) to selected 1.44 (colored)

convert to new .Dd format;

Revision 1.38 / (download) - annotate - [select for diffs], Wed May 30 04:41:33 2007 UTC (17 years ago) by jmc
Branch: MAIN
Changes since 1.37: +20 -4 lines
Diff to previous 1.37 (colored) to selected 1.44 (colored)

- use a consistent text for STANDARDS
- note which options are extensions to POSIX

Revision 1.37 / (download) - annotate - [select for diffs], Wed Apr 4 16:25:03 2007 UTC (17 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored) to selected 1.44 (colored)

tweak previous;

Revision 1.36 / (download) - annotate - [select for diffs], Wed Apr 4 13:09:14 2007 UTC (17 years, 2 months ago) by millert
Branch: MAIN
Changes since 1.35: +18 -13 lines
Diff to previous 1.35 (colored) to selected 1.44 (colored)

Clarify the behavior of the -N and -n flags.

Revision 1.35 / (download) - annotate - [select for diffs], Wed Jan 24 10:53:43 2007 UTC (17 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.34: +44 -116 lines
Diff to previous 1.34 (colored) to selected 1.44 (colored)

split compress(1) into compress(1) and gzip(1), as suggested by millert;
ok/help millert otto

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jul 22 09:30:51 2005 UTC (18 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.33: +3 -19 lines
Diff to previous 1.33 (colored) to selected 1.44 (colored)

somehow we managed to document the exit status of these apps twice,
in slightly different ways: merge it all into one bit;

RETURN VALUES section header removed since strictly speaking this is
not for section one apps;

help from otto@

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jul 22 09:02:42 2005 UTC (18 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.32: +5 -3 lines
Diff to previous 1.32 (colored) to selected 1.44 (colored)

add -g to gzcat synopsis: although it's not necessary, it matches how
we describe gzip itself; update the description of -g to reflect this;

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jul 22 08:58:31 2005 UTC (18 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.31: +7 -2 lines
Diff to previous 1.31 (colored) to selected 1.44 (colored)

add some z* utils to SEE ALSO;
formatting tweak;

Revision 1.31 / (download) - annotate - [select for diffs], Fri Jul 22 08:50:18 2005 UTC (18 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (colored) to selected 1.44 (colored)

add zcat and gzcat to NAME;

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jul 22 08:38:46 2005 UTC (18 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.29: +38 -38 lines
Diff to previous 1.29 (colored) to selected 1.44 (colored)

sort synopsis and options list; sync usage() (as best we can);
help + ok jaredy@

Revision 1.29 / (download) - annotate - [select for diffs], Wed Oct 1 08:43:17 2003 UTC (20 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.28: +4 -2 lines
Diff to previous 1.28 (colored) to selected 1.44 (colored)

.Xr compress 3 and a typo;

Revision 1.28 / (download) - annotate - [select for diffs], Fri Sep 5 07:24:59 2003 UTC (20 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.27: +15 -3 lines
Diff to previous 1.27 (colored) to selected 1.44 (colored)

- add gzcat to SYNOPSIS and DESCRIPTION
- add -g flag to zcat in SYNOPSIS
- .Nm cat -> .Xr cat 1

from myself and tedu@

Revision 1.27 / (download) - annotate - [select for diffs], Fri Sep 5 04:46:35 2003 UTC (20 years, 9 months ago) by tedu
Branch: MAIN
Changes since 1.26: +10 -1 lines
Diff to previous 1.26 (colored) to selected 1.44 (colored)

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@

Revision 1.26 / (download) - annotate - [select for diffs], Sat Aug 16 23:43:06 2003 UTC (20 years, 9 months ago) by millert
Branch: MAIN
Changes since 1.25: +11 -1 lines
Diff to previous 1.25 (colored) to selected 1.44 (colored)

Update HISTORY section.  Full gzip compat was added in 3.4 and the
'g' stands for gratis.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Aug 6 13:10:48 2003 UTC (20 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) to selected 1.44 (colored)

typo;

Revision 1.24 / (download) - annotate - [select for diffs], Sat Aug 2 17:45:15 2003 UTC (20 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.23: +26 -12 lines
Diff to previous 1.23 (colored) to selected 1.44 (colored)

Better description of how uncompressed file name is generated.
OK jmc@

Revision 1.23 / (download) - annotate - [select for diffs], Fri Aug 1 09:38:00 2003 UTC (20 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.22: +28 -23 lines
Diff to previous 1.22 (colored) to selected 1.44 (colored)

cleanup;
ok millert@

Revision 1.22 / (download) - annotate - [select for diffs], Sun Jul 20 13:25:52 2003 UTC (20 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.21: +13 -1 lines
Diff to previous 1.21 (colored) to selected 1.44 (colored)

document exit values

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jul 17 20:06:01 2003 UTC (20 years, 10 months ago) by millert
Branch: MAIN
Changes since 1.20: +52 -5 lines
Diff to previous 1.20 (colored) to selected 1.44 (colored)

o implement -l, -n and -N (including setting outfile + mtime)
o make -v behave like GNU gzip for compress/decompress stats
o write a full gzip header w/ mtime and file name
o for -t/-l just don't write data instead of writing to /dev/null
o exit code is now more consistent with GNU gzip
o a crc error on decompress no longer causes unlink(outfile)
mickey@ OK

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jun 30 03:42:05 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.19: +8 -6 lines
Diff to previous 1.19 (colored) to selected 1.44 (colored)

Make usage() take the exit val are an argument and have the -h flag
use this to exit(0), not exit(1).  Some configure/install sqcripts
check for the existence of gzip by running "gzip -h" and checking
the subshell's exit value.  Noticed by naddy@

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 23 20:51:02 2003 UTC (20 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.18: +51 -10 lines
Diff to previous 1.18 (colored) to selected 1.44 (colored)

- further document differences between compress and gzip
- document -[1-9] mode for gzip
- add relevant RFCs to SEE ALSO

ok mickey@ deraadt@ millert@

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jun 22 22:17:46 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +44 -11 lines
Diff to previous 1.17 (colored) to selected 1.44 (colored)

man page changes from jmc: use this as gzip too

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jun 10 09:12:09 2003 UTC (20 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.16: +6 -6 lines
Diff to previous 1.16 (colored) to selected 1.44 (colored)

- section reorder
- COMPATIBILITY merge
- macro cleanup
- kill whitespace at EOL
- new sentence, new line

ssh pages ok markus@

Revision 1.16 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:07 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.15: +2 -6 lines
Diff to previous 1.15 (colored) to selected 1.44 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.15 / (download) - annotate - [select for diffs], Tue Dec 17 16:16:08 2002 UTC (21 years, 5 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.14: +8 -4 lines
Diff to previous 1.14 (colored) to selected 1.44 (colored)

o Implement -r (recursive) option
o add missing options to OPTSTRING
o add some option mixing sanity checks
o truncate existing files when uncompressing
o fixed some problems with suffix handling
This brings us closer to being able to replace GNU gzip; mickey@ OK

Revision 1.14 / (download) - annotate - [select for diffs], Sun Dec 8 16:07:54 2002 UTC (21 years, 5 months ago) by mickey
Branch: MAIN
Changes since 1.13: +36 -12 lines
Diff to previous 1.13 (colored) to selected 1.44 (colored)

grop long option names, like gzip.
add most of the gzip's options (a few unimplemented yet).
some cleaning, etc.
millert@ ok

Revision 1.13 / (download) - annotate - [select for diffs], Thu May 30 20:34:57 2002 UTC (22 years ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.12: +3 -4 lines
Diff to previous 1.12 (colored) to selected 1.44 (colored)

a grammar knit; from Aidan Kehoe <kehoea@parhasard.net>

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jun 17 16:34:47 2001 UTC (22 years, 11 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.11: +11 -1 lines
Diff to previous 1.11 (colored) to selected 1.44 (colored)

mention zcat

Revision 1.11 / (download) - annotate - [select for diffs], Thu Mar 23 21:10:15 2000 UTC (24 years, 2 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.44 (colored)

Fix some formatting problems I missed before.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 5 20:09:21 2000 UTC (24 years, 3 months ago) by aaron
Branch: MAIN
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored) to selected 1.44 (colored)

Various improvements, including a few HISTORY sections added from FreeBSD.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Oct 5 17:09:11 1999 UTC (24 years, 8 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.8: +11 -8 lines
Diff to previous 1.8 (colored) to selected 1.44 (colored)

- Put -d in SYNOPSIS.
- Fix typo: specifed -> specified.
- Some other miscellaneous fixes.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jul 4 11:53:52 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.7: +11 -17 lines
Diff to previous 1.7 (colored) to selected 1.44 (colored)

correct use of .Nm; some other formatting nits

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jun 5 01:21:22 1999 UTC (25 years ago) by aaron
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) to selected 1.44 (colored)

- remove trailing white space
- remove arguments from .Os macros
- remove arguments from .Nm macros, where appropriate
- some more Dq/Sq/Ql insanity
- still lots to do in the usr.bin tree... :/

Revision 1.6 / (download) - annotate - [select for diffs], Wed Sep 23 04:32:38 1998 UTC (25 years, 8 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.5: +15 -13 lines
Diff to previous 1.5 (colored) to selected 1.44 (colored)

usr.bin/ man page repairs, a - e

Revision 1.5 / (download) - annotate - [select for diffs], Tue Aug 19 06:33:37 1997 UTC (26 years, 9 months ago) by denny
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.4: +10 -2 lines
Diff to previous 1.4 (colored) to selected 1.44 (colored)

Note POSIX 1003.2.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 6 20:22:53 1997 UTC (26 years, 11 months ago) by mickey
Branch: MAIN
Changes since 1.3: +19 -4 lines
Diff to previous 1.3 (colored) to selected 1.44 (colored)

do gzip

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jun 30 11:49:48 1997 UTC (26 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.44 (colored)

bug fix; charnier

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:32:19 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored) to selected 1.44 (colored)

rcsid

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:02 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.44 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:02 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN
Diff to selected 1.44 (colored)

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.