Deleted Added
full compact
magic.man (103373) magic.man (110949)
1.TH MAGIC __FSECTION__ "Public Domain"
2.\" install as magic.4 on USG, magic.5 on V7 or Berkeley systems.
3.SH NAME
4magic \- file command's magic number file
5.SH DESCRIPTION
6This manual page documents the format of the magic file as
7used by the
8.BR file (__CSECTION__)

--- 156 unchanged lines hidden (view full) ---

165in the file. Indirect offsets are of the form:
166.BI (( x [.[bslBSL]][+-][ y ]).
167The value of
168.I x
169is used as an offset in the file. A byte, short or long is read at that offset
170depending on the
171.B [bslBSL]
172type specifier. The capitalized types interpret the number as a big endian
1.TH MAGIC __FSECTION__ "Public Domain"
2.\" install as magic.4 on USG, magic.5 on V7 or Berkeley systems.
3.SH NAME
4magic \- file command's magic number file
5.SH DESCRIPTION
6This manual page documents the format of the magic file as
7used by the
8.BR file (__CSECTION__)

--- 156 unchanged lines hidden (view full) ---

165in the file. Indirect offsets are of the form:
166.BI (( x [.[bslBSL]][+-][ y ]).
167The value of
168.I x
169is used as an offset in the file. A byte, short or long is read at that offset
170depending on the
171.B [bslBSL]
172type specifier. The capitalized types interpret the number as a big endian
173value, whereas the small letter versions interpet the number as a little
173value, whereas the small letter versions interpret the number as a little
174endian value. To that number the value of
175.I y
176is added and the result is used as an offset in the file. The default type
177if one is not specified is long.
178.PP
179Sometimes you do not know the exact offset as this depends on the length of
180preceding fields. You can specify an offset relative to the end of the
181last uplevel field (of course this may only be done for sublevel tests, i.e.

--- 32 unchanged lines hidden (view full) ---

214.\" Date: 3 Sep 85 08:19:07 GMT
215.\" Organization: Sun Microsystems, Inc.
216.\" Lines: 136
217.\"
218.\" Here's a manual page for the format accepted by the "file" made by adding
219.\" the changes I posted to the S5R2 version.
220.\"
221.\" Modified for Ian Darwin's version of the file command.
174endian value. To that number the value of
175.I y
176is added and the result is used as an offset in the file. The default type
177if one is not specified is long.
178.PP
179Sometimes you do not know the exact offset as this depends on the length of
180preceding fields. You can specify an offset relative to the end of the
181last uplevel field (of course this may only be done for sublevel tests, i.e.

--- 32 unchanged lines hidden (view full) ---

214.\" Date: 3 Sep 85 08:19:07 GMT
215.\" Organization: Sun Microsystems, Inc.
216.\" Lines: 136
217.\"
218.\" Here's a manual page for the format accepted by the "file" made by adding
219.\" the changes I posted to the S5R2 version.
220.\"
221.\" Modified for Ian Darwin's version of the file command.
222.\" @(#)$Id: magic.man,v 1.19 2002/07/03 18:26:38 christos Exp $
222.\" @(#)$Id: magic.man,v 1.20 2003/02/08 18:33:53 christos Exp $