Thanks
Jay
Jay Kozak Motorola CIG
System Administrator Rm 3082
koz...@man.rtsg.mot.com 1501 W. Shure Drive
(708) 632-7550 Arlington Heights, IL 60004
--
John Hascall ``An ill-chosen word is the fool's messenger.''
Systems Software Engineer
Project Vincent
Iowa State University Computation Center + Ames, IA 50011 + 515/294-9551
>Thanks
>Jay
I have added an entry for GIF87 to our /etc/magic file:
0 string GIF87 Gif87 Graphic file
To figure out what the signature is use a binary viewer (I frequently use
emacs) to scan the first part of the file. Gif is easy because the
signature is at the top.
--
___________________
R.Stewart(Stew) Ellis, Assoc.Prof., (Off)313-762-9765 / _____ ______
Humanities & Social Science, GMI Eng.& Mgmt. Inst. / / / / / /
Flint, MI 48504 el...@nova.gmi.edu /________/ / / / /
>ko...@rtsg.mot.com (Jay Kozak) writes:
>>time. Does anybody have /etc/magic entries for GIF's. With this, I could just
>>do a find at night. Please email any responses.
>>Thanks
>>Jay
>I have added an entry for GIF87 to our /etc/magic file:
>0 string GIF87 Gif87 Graphic file
There is another GIF standard (GIF89) that you might want to include also.
-Sven
0 string GIF87 Gif87 graphics file
0 string GIF89 Gif89 graphics file
To determine which strings to match, I like to use "od -c <filename> | head".
Hal
--
Hal J Eisen, TMWTMOASS / ei...@cs.jhu.edu (internet) / eisen@jhuigf (BITNET)
"Violence is the last refuge of the incompetent" --Salvor Hardin
Safer Sacs: Overprotect with Nimzovitch's Prophylaxis
bus error (passengers dumped)
Betsy
Policy group disclaimer:
This posting represents my personal opinion at the time of posting.
I am using the net as a personal learning tool: nothing I write is
official policy unless explicitly labelled as "official" policy.
Please do not repost or anthologize this post without my permission.
thanks, Betsy.
--
System Administrator Internet: bet...@cs.umb.edu
MACS Dept, UMass/Boston Phone : 617-287-6448
100 Morrissey Blvd Staccato signals
Boston, MA 02125-3393 of constant information....
In article <C64Et...@news.iastate.edu> jo...@iastate.edu (John Hascall) writes:
[...somehow I managed to post no useful information at all in attempt 1...]
So, in penance, here are some entries from our file (it is Ultrix, so
the format is a little odd, but...):
0 string ^GIF\\%...\\% 7,21 GIF (%s) image
>6 short >0 7,21 (%d
>8 short >0 7,21 x %d)
0 short 0x4949 7,22 TIFF
>2 short >0 7,22 (v%d) image
0 long 0xffd8ffe0 7,23 JPEG image (big endian)
0 long 0xe0ffd8ff 7,24 JPEG image (little endian)
0 short 0x02f7 7,26 DVI
>16 string ^\\%[A-Za-z0-9.: ]*\\% 7,26 (%s)
John