home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
misc
/
volume5
/
compress.mag
< prev
next >
Wrap
Internet Message Format
|
1989-02-03
|
1KB
Path: xanth!nic.MR.NET!hal!ncoast!allbery
From: steve@nuchat.UUCP (Steve Nuchia)
Newsgroups: comp.sources.misc
Subject: v05i028: /etc/magic lines for compress
Message-ID: <2643@nuchat.UUCP>
Date: 31 Oct 88 02:59:39 GMT
Sender: allbery@ncoast.UUCP
Reply-To: steve@nuchat.UUCP (Steve Nuchia)
Organization: Public Access - Houston, Tx
Lines: 26
Approved: allbery@ncoast.UUCP
Posting-number: Volume 5, Issue 28
Submitted-by: "Steve Nuchia" <steve@nuchat.UUCP>
Archive-name: compress.magic
This is one of those little throw-away things that normally
don't get posted. It was pointed out to me recently that
we need to make an extra effort to get this kind of stuff
out, so here it is.
If you have a file(1) compatible with the one in sysVr3
adding the following lines to /etc/magic will make it
recognize compressed files. I was motivated to add this
when I imported a bunch of files from BSD systems and the .Zs
all got lopped off.
0 short 40223 compressed data
>2 byte <0200 - %d bits
>2 byte 0214 - 12 bits
>2 byte 0215 - 13 bits
>2 byte 0220 - 16 bits
--
Steve Nuchia | [...] but the machine would probably be allowed no mercy.
uunet!nuchat!steve | In other words then, if a machine is expected to be
(713) 334 6720 | infallible, it cannot be intelligent. - Alan Turing, 1947