9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] compress, zcat, pack, compact
@ 2001-08-17 14:29 ` pac
  2001-08-17 16:52   ` Scott Schwartz
  0 siblings, 1 reply; 10+ messages in thread
From: pac @ 2001-08-17 14:29 UTC (permalink / raw)
  To: 9fans

Hi,

there is a manpage for compress, etc., in the Release 3; however, I can find there neither source, nor binaries.
Gzip/gunzip complains about the .Z files. I'm not fond of .Z, however, some archives still are. So do I need to switch to linux every time
I fetch the .Z file?

TIA, regards,
Peter

--
Peter A Cejchan
<cej at cejchan dot gli dot cas dot cz>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] compress, zcat, pack, compact
  2001-08-17 14:29 ` [9fans] compress, zcat, pack, compact pac
@ 2001-08-17 16:52   ` Scott Schwartz
  2001-08-17 17:00     ` Lucio De Re
  0 siblings, 1 reply; 10+ messages in thread
From: Scott Schwartz @ 2001-08-17 16:52 UTC (permalink / raw)
  To: 9fans

> Gzip/gunzip complains about the .Z files.

Really?  The unix version of gunzip is happy with them.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] compress, zcat, pack, compact
  2001-08-17 16:52   ` Scott Schwartz
@ 2001-08-17 17:00     ` Lucio De Re
  2001-08-20  7:21       ` pac
  0 siblings, 1 reply; 10+ messages in thread
From: Lucio De Re @ 2001-08-17 17:00 UTC (permalink / raw)
  To: 9fans

On Fri, Aug 17, 2001 at 12:52:51PM -0400, Scott Schwartz wrote:
> 
> > Gzip/gunzip complains about the .Z files.
> 
> Really?  The unix version of gunzip is happy with them.

Indeed, and will even extract the contents from a single file ZIP
archive.  And Bzip2 will do all that and beat GZIP at compression,
sometimes quite significantly.

Amusingly, WinZIP has my admiration, too.  It really handles a
phenomenal range of storage formats.  I think it fails on
BZIP2, which is perplexing.

++L


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] compress, zcat, pack, compact
  2001-08-17 17:00     ` Lucio De Re
@ 2001-08-20  7:21       ` pac
  2001-08-20  7:45         ` Lucio De Re
  0 siblings, 1 reply; 10+ messages in thread
From: pac @ 2001-08-20  7:21 UTC (permalink / raw)
  To: 9fans

>> On Fri, Aug 17, 2001 at 12:52:51PM -0400, Scott Schwartz wrote:
>> > 
>> > > Gzip/gunzip complains about the .Z files.
>> > 
>> > Really?  The unix version of gunzip is happy with them.

The gunzip manpage says, that gunzip cannot treat other compression methods than gzip's deflate.
It really complains about some of .Z

>> 
>> Indeed, and will even extract the contents from a single file ZIP
>> archive.  And Bzip2 will do all that 

I didn't know before. I'll give it a try...

>> and beat GZIP at compression,
>> sometimes quite significantly.

Yes, I know. It's my favourite compression format. 

>> 
>> Amusingly, WinZIP has my admiration, too.  It really handles a
>> phenomenal range of storage formats.  I think it fails on
>> BZIP2, which is perplexing.

I don't and won't use Windoze....
>> 
>> ++L
>> 



--
Peter A Cejchan
biologist
Acad. Sci., Prague, CZ
<cej at cejchan dot gli dot cas dot cz>



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] compress, zcat, pack, compact
  2001-08-20  7:21       ` pac
@ 2001-08-20  7:45         ` Lucio De Re
  0 siblings, 0 replies; 10+ messages in thread
From: Lucio De Re @ 2001-08-20  7:45 UTC (permalink / raw)
  To: 9fans

On Mon, Aug 20, 2001 at 09:21:47AM +0200, pac wrote:
> 
> The gunzip manpage says, that gunzip cannot treat other compression methods than gzip's deflate.
> It really complains about some of .Z
> 
 From the NetBSD man page:

	Gunzip can currently decompress files created by gzip
	zip, compress, compress -H or pack.  The detection of
	the input format is automatic... (some noise about bad
	compress).

> Yes, I know. It's my favourite compression format. 
> 
It's catching on, I guess it will do it faster than Gzip did.
> >> 
> >> Amusingly, WinZIP has my admiration, too.  It really handles a
> >> phenomenal range of storage formats.  I think it fails on
> >> BZIP2, which is perplexing.
> 
> I don't and won't use Windoze....

Some of us don't get a choice.  And it gives us something to
bitch about :-)

++L


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] compress, zcat, pack, compact
  2001-08-20 15:12 ` Boyd Roberts
@ 2001-08-20 15:38   ` Lucio De Re
  0 siblings, 0 replies; 10+ messages in thread
From: Lucio De Re @ 2001-08-20 15:38 UTC (permalink / raw)
  To: 9fans

On Mon, Aug 20, 2001 at 05:12:39PM +0200, Boyd Roberts wrote:
> 
> > I'm tired of compression programs that
> > know every other compression format.
> > They just confuse things.
> 
> don't they just.  more and more code, for what?
> 
Right, back to pack and unpack.  Disk space and memory are cheap
and bandwidth is becoming so.

++L


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] compress, zcat, pack, compact
  2001-08-20 13:15 Russ Cox
  2001-08-20 15:08 ` Lucio De Re
@ 2001-08-20 15:12 ` Boyd Roberts
  2001-08-20 15:38   ` Lucio De Re
  1 sibling, 1 reply; 10+ messages in thread
From: Boyd Roberts @ 2001-08-20 15:12 UTC (permalink / raw)
  To: 9fans

> I'm tired of compression programs that
> know every other compression format.
> They just confuse things.

don't they just.  more and more code, for what?




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] compress, zcat, pack, compact
  2001-08-20 13:15 Russ Cox
@ 2001-08-20 15:08 ` Lucio De Re
  2001-08-20 15:12 ` Boyd Roberts
  1 sibling, 0 replies; 10+ messages in thread
From: Lucio De Re @ 2001-08-20 15:08 UTC (permalink / raw)
  To: 9fans

On Mon, Aug 20, 2001 at 09:15:10AM -0400, Russ Cox wrote:
> 
> The Plan 9 gzip is not the NetBSD gzip.
> Sean Dorward wrote libflate and the
> Plan 9 gzip from scratch, and it only
> handles gzip deflate files, hence the name.
> I'm tired of compression programs that
> know every other compression format.
> They just confuse things.

Crossed wires.  The person who mentioned that Plan 9 gzip only
handles "flating" made it sound to me like that applied to all
known gzip flavours, hence my response.

As for known formats, it seems illogical to stop the unwinding of
compressed data on a philosophical ticket, specially as it often
is a trivial task to do the right thing.  Libflate and libz are
evidently very different, in this case.

BSD tar's "z" option uses libz or zcat, not sure which, so the
suggestion to add Bzip2 capabilities to it on uncompressing went
totally unchallenged.

Personal preferences in the actual compression formats may well be
an entirely different matter.

++L


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] compress, zcat, pack, compact
@ 2001-08-20 13:15 Russ Cox
  2001-08-20 15:08 ` Lucio De Re
  2001-08-20 15:12 ` Boyd Roberts
  0 siblings, 2 replies; 10+ messages in thread
From: Russ Cox @ 2001-08-20 13:15 UTC (permalink / raw)
  To: 9fans

The Plan 9 gzip is not the NetBSD gzip.
Sean Dorward wrote libflate and the
Plan 9 gzip from scratch, and it only
handles gzip deflate files, hence the name.
I'm tired of compression programs that
know every other compression format.
They just confuse things.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [9fans] compress, zcat, pack, compact
@ 2001-08-17 14:19 rob pike
  0 siblings, 0 replies; 10+ messages in thread
From: rob pike @ 2001-08-17 14:19 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 101 bytes --]

My mistake; I must have accidentally included the man page for stuff
I was not shipping.

-rob


[-- Attachment #2: Type: message/rfc822, Size: 1625 bytes --]

From: pac <cej@cejchan.gli.cas.cz>
To: 9fans@cse.psu.edu
Subject: [9fans] compress, zcat, pack, compact
Date: Fri, 17 Aug 2001 16:29:48 +0200
Message-ID: <cej-1010817162948.A01249@cejchan.gli.cas.cz>

Hi,

there is a manpage for compress, etc., in the Release 3; however, I can find there neither source, nor binaries.
Gzip/gunzip complains about the .Z files. I'm not fond of .Z, however, some archives still are. So do I need to switch to linux every time
I fetch the .Z file?

TIA, regards,
Peter

--
Peter A Cejchan
<cej at cejchan dot gli dot cas dot cz>

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-08-20 15:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <cej@cejchan.gli.cas.cz>
2001-08-17 14:29 ` [9fans] compress, zcat, pack, compact pac
2001-08-17 16:52   ` Scott Schwartz
2001-08-17 17:00     ` Lucio De Re
2001-08-20  7:21       ` pac
2001-08-20  7:45         ` Lucio De Re
2001-08-20 13:15 Russ Cox
2001-08-20 15:08 ` Lucio De Re
2001-08-20 15:12 ` Boyd Roberts
2001-08-20 15:38   ` Lucio De Re
  -- strict thread matches above, loose matches on Subject: below --
2001-08-17 14:19 rob pike

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).