# # @(#)fndetc:magic 1.3 # # file cmd's file # # # Basically, the fields of this file are as follows: # byte offset, value type, optional operator (= by default), value # to match (numeric or string), and string to be printed. Numeric # values may be decimal, octal, or hex. Also note that the last # string may have 1 printf format spec. # The '>'s in occasional column 1's are magic: they force file to # continue scanning and matching additional lines. The first line # afterwards not so marked terminates the search. # 0 short 012461 ISAM Data Set 0 short 070707 cpio archive 0 string 070707 ASCII cpio archive 0 long 0x65ff0000 vax 3.0 old archive 0 long 0100554 apl workspace 0 short 017436 packed text 0 string 5.0 archive 0 string ! 5.2 archive 0 long 0x0d01010d SAVEd basic program 0 long 0x03010103 core file 0 short 0550 sccs file 0 short 0x1a01 compiled terminfo description 0 long 0xb010000 vax ucb executable (0413 demand load) 0 long 0x8010000 vax ucb executable (0410 read-only) 0 long 0x7010000 vax ucb executable (0407 impure) 0 short 074001 vax 5.0 executable (0570 impure) >12 long >0 not stripped >22 short >0 - version %ld 0 short 076401 vax 5.0 executable (0575 pure) >12 long >0 not stripped >22 short >0 - version %ld 0 short &0177770 0520 mc68k executable >2 short 4 (shared demand paged with shared library) >2 short 3 (shared demand paged) >12 long >0 not stripped >0 short 0520 -N (0407 impure) >0 short 0521 -n (0410 read-only) >0 short 0522 >>36 long >0x80000 -F (0413 demand paged)