From: millert Date: Sun, 9 Feb 1997 21:29:51 +0000 (+0000) Subject: Add macintosh magic. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=99b826ce17ca88c8798501e5bb74ff67ae31a112;p=openbsd Add macintosh magic. --- diff --git a/usr.bin/file/magdir/apple b/usr.bin/file/magdir/apple index a6492b74b2d..c21ee34372c 100644 --- a/usr.bin/file/magdir/apple +++ b/usr.bin/file/magdir/apple @@ -5,6 +5,5 @@ 0 string FiLeStArTfIlEsTaRt binscii (apple ][) text 0 string \x0aGL Binary II (apple ][) data 0 string \x76\xff Squeezed (apple ][) data -0 string SIT! StuffIt (macintosh) text 0 string NuFile NuFile archive (apple ][) data 0 string N\xf5F\xe9l\xe5 NuFile archive (apple ][) data diff --git a/usr.bin/file/magdir/macintosh b/usr.bin/file/magdir/macintosh new file mode 100644 index 00000000000..d2503831bad --- /dev/null +++ b/usr.bin/file/magdir/macintosh @@ -0,0 +1,72 @@ + +#------------------------------------------------------------------------------ +# macintosh: file(1) magic for Apple Macintosh file formats + +# Stuffit archives are the de facto standard of compression for Macintosh +# files obtained from most archives. (franklsm@tuns.ca) +0 string SIT! StuffIt Archive (data) +>2 string x : %s +65 string SIT! StuffIt Archive (rsrc + data) +>2 string x : %s +0 string SITD StuffIt Deluxe (data) +>2 string x : %s +65 string SITD StuffIt Deluxe (rsrc + data) +>2 string x : %s +0 string Seg StuffIt Deluxe Segment (data) +>2 string x : %s +65 string Seg StuffIt Deluxe Segment (rsrc + data) +>2 string x : %s + +# Macintosh Applications and Installation binaries (franklsm@tuns.ca) +0 string APPL Macintosh Application (data) +>2 string x : %s +65 string APPL Macintosh Application (rsrc + data) +>2 string x : %s + +# Macintosh System files (franklsm@tuns.ca) +0 string zsys Macintosh System File (data) +65 string zsys Macintosh System File(rsrc + data) +0 string FNDR Macintosh Finder (data) +65 string FNDR Macintosh Finder(rsrc + data) +0 string libr Macintosh Library (data) +>2 string x : %s +65 string libr Macintosh Library(rsrc + data) +>2 string x : %s +0 string shlb Macintosh Shared Library (data) +>2 string x : %s +65 string shlb Macintosh Shared Library(rsrc + data) +>2 string x : %s +0 string cdev Macintosh Control Panel (data) +>2 string x : %s +65 string cdev Macintosh Control Panel(rsrc + data) +>2 string x : %s +0 string INIT Macintosh Extension (data) +>2 string x : %s +65 string INIT Macintosh Extension(rsrc + data) +>2 string x : %s +0 string FFIL Macintosh Truetype Font (data) +>2 string x : %s +65 string FFIL Macintosh Truetype Font(rsrc + data) +>2 string x : %s +0 string LWFN Macintosh Postscript Font (data) +>2 string x : %s +65 string LWFN Macintosh Postscript Font(rsrc + data) +>2 string x : %s + +# Additional Macintosh Files (franklsm@tuns.ca) +0 string PACT Macintosh Compact Pro Archive (data) +>2 string x : %s +65 string PACT Macintosh Compact Pro Archive(rsrc + data) +>2 string x : %s +0 string ttro Macintosh TeachText File (data) +>2 string x : %s +65 string ttro Macintosh TeachText File(rsrc + data) +>2 string x : %s +0 string TEXT Macintosh TeachText File (data) +>2 string x : %s +65 string TEXT Macintosh TeachText File(rsrc + data) +>2 string x : %s +0 string PDF Macintosh PDF File (data) +>2 string x : %s +65 string PDF Macintosh PDF File(rsrc + data) +>2 string x : %s