Teach file about:

1) our branded elf's
2) mpeg audio/video/system streams
3) compiled java classes
This commit is contained in:
Eric L. Hernes 1996-10-24 15:49:51 +00:00
parent 21c2d66cd6
commit 124ccb3329
3 changed files with 14 additions and 1 deletions

View File

@ -7,7 +7,11 @@
# FLC, SGI, Apple originally from Daniel Quinlan (quinlan@yggdrasil.com)
# MPEG animation format
0 string \000\000\001\263 MPEG file
0 belong 0x000001b3 Mpeg video stream data
#>4 beshort&0xfff0 x (%d x
#>5 beshort&0x0fff x %d)
0 belong 0x000001ba Mpeg system stream data
0 beshort&0xfff0 0xfff0 Mpeg audio stream data
# FLI animation format
4 leshort 0xAF11 FLI file

View File

@ -54,3 +54,4 @@
>>20 belong 0 invalid version
>>20 belong 1 version 1
>>36 belong 1 MathCoPro/FPU/MAU Required
>8 string >\0 (%s)

8
usr.bin/file/Magdir/java Normal file
View File

@ -0,0 +1,8 @@
#------------------------------------------------------------------------------
# java: file(1) magic for java compiled classes
#
0 belong 0xCafeBabe compiled java class data,
>4 beshort x version %d.
>6 beshort x \b%d