168349Sobrien 268349Sobrien#------------------------------------------------------------------------------ 3267843Sdelphij# $File: clipper,v 1.7 2014/04/30 21:41:02 christos Exp $ 468349Sobrien# clipper: file(1) magic for Intergraph (formerly Fairchild) Clipper. 568349Sobrien# 668349Sobrien# XXX - what byte order does the Clipper use? 768349Sobrien# 868349Sobrien# XXX - what's the "!" stuff: 968349Sobrien# 1068349Sobrien# >18 short !074000,000000 C1 R1 1168349Sobrien# >18 short !074000,004000 C2 R1 1268349Sobrien# >18 short !074000,010000 C3 R1 1368349Sobrien# >18 short !074000,074000 TEST 1468349Sobrien# 1568349Sobrien# I shall assume it's ANDing the field with the first value and 1668349Sobrien# comparing it with the second, and rewrite it as: 1768349Sobrien# 1868349Sobrien# >18 short&074000 000000 C1 R1 1968349Sobrien# >18 short&074000 004000 C2 R1 2068349Sobrien# >18 short&074000 010000 C3 R1 2168349Sobrien# >18 short&074000 074000 TEST 2268349Sobrien# 2368349Sobrien# as SVR3.1's "file" doesn't support anything of the "!074000,000000" 2468349Sobrien# sort, nor does SunOS 4.x, so either it's something Intergraph added 2568349Sobrien# in CLIX, or something AT&T added in SVR3.2 or later, or something 2668349Sobrien# somebody else thought was a good idea; it's not documented in the 2768349Sobrien# man page for this version of "magic", nor does it appear to be 2868349Sobrien# implemented (at least not after I blew off the bogus code to turn 2968349Sobrien# old-style "&"s into new-style "&"s, which just didn't work at all). 3068349Sobrien# 3168349Sobrien0 short 0575 CLIPPER COFF executable (VAX #) 3268349Sobrien>20 short 0407 (impure) 3368349Sobrien>20 short 0410 (5.2 compatible) 3468349Sobrien>20 short 0411 (pure) 3568349Sobrien>20 short 0413 (demand paged) 3668349Sobrien>20 short 0443 (target shared library) 3768349Sobrien>12 long >0 not stripped 38267843Sdelphij>22 short >0 - version %d 3968349Sobrien0 short 0577 CLIPPER COFF executable 4068349Sobrien>18 short&074000 000000 C1 R1 4168349Sobrien>18 short&074000 004000 C2 R1 4268349Sobrien>18 short&074000 010000 C3 R1 4368349Sobrien>18 short&074000 074000 TEST 4468349Sobrien>20 short 0407 (impure) 4568349Sobrien>20 short 0410 (pure) 4668349Sobrien>20 short 0411 (separate I&D) 4768349Sobrien>20 short 0413 (paged) 4868349Sobrien>20 short 0443 (target shared library) 4968349Sobrien>12 long >0 not stripped 50267843Sdelphij>22 short >0 - version %d 5168349Sobrien>48 long&01 01 alignment trap enabled 5268349Sobrien>52 byte 1 -Ctnc 5368349Sobrien>52 byte 2 -Ctsw 5468349Sobrien>52 byte 3 -Ctpw 5568349Sobrien>52 byte 4 -Ctcb 5668349Sobrien>53 byte 1 -Cdnc 5768349Sobrien>53 byte 2 -Cdsw 5868349Sobrien>53 byte 3 -Cdpw 5968349Sobrien>53 byte 4 -Cdcb 6068349Sobrien>54 byte 1 -Csnc 6168349Sobrien>54 byte 2 -Cssw 6268349Sobrien>54 byte 3 -Cspw 6368349Sobrien>54 byte 4 -Cscb 6468349Sobrien4 string pipe CLIPPER instruction trace 6568349Sobrien4 string prof CLIPPER instruction profile 66