version 1.5, 2000/03/23 21:39:53 |
version 1.6, 2000/04/12 21:47:48 |
|
|
to specify that the value from the file must be greater than the specified |
to specify that the value from the file must be greater than the specified |
value, |
value, |
.Ql & |
.Ql & |
to specify that the value from the file must have set all of the bits |
to specify that the value from the file must have set all of the bits |
that are set in the specified value, |
that are set in the specified value, |
.Ql ^ |
.Ql ^ |
to specify that the value from the file must have clear any of the bits |
to specify that the value from the file must have clear any of the bits |
that are set in the specified value, or |
that are set in the specified value, or |
.Sq x |
.Sq x |
to specify that any value will match. |
to specify that any value will match. |
|
|
is hexadecimal. |
is hexadecimal. |
.It Sy "" |
.It Sy "" |
For string values, the byte string from the |
For string values, the byte string from the |
file must match the specified byte string. |
file must match the specified byte string. |
The operators |
The operators |
.Ql = , |
.Ql = , |
.Ql < , |
.Ql < , |
|
|
.Pp |
.Pp |
Indirect offsets are of the form: |
Indirect offsets are of the form: |
.Dq (x[.[bsl]][+-][y]) . |
.Dq (x[.[bsl]][+-][y]) . |
The value of |
The value of |
.Sq x |
.Sq x |
is used as an offset in the file. |
is used as an offset in the file. |
A byte, short or long is read at that offset |
A byte, short or long is read at that offset |
depending on the |
depending on the |
.Dq [bsl] |
.Dq [bsl] |
type specifier. |
type specifier. |
To that number the value of |
To that number the value of |
|
|
preceding fields. |
preceding fields. |
You can specify an offset relative to the end of the |
You can specify an offset relative to the end of the |
last uplevel field (of course this may only be done for sublevel tests, i.e., |
last uplevel field (of course this may only be done for sublevel tests, i.e., |
test beginning with |
test beginning with |
.Ql > ) . |
.Ql > ) . |
Such a relative offset is specified using |
Such a relative offset is specified using |
.Ql & |
.Ql & |
as a prefix to the offset. |
as a prefix to the offset. |
.Sh BUGS |
.Sh BUGS |
The formats |
The formats |
.Li long , |
.Li long , |
.Li belong , |
.Li belong , |
.Li lelong , |
.Li lelong , |
|
|
and |
and |
.Li ledate |
.Li ledate |
are system-dependent; perhaps they should be specified as a number |
are system-dependent; perhaps they should be specified as a number |
of bytes (2B, 4B, etc), |
of bytes (2B, 4B, etc), |
since the files being recognized typically come from |
since the files being recognized typically come from |
a system on which the lengths are invariant. |
a system on which the lengths are invariant. |
.Pp |
.Pp |
|
|
.\" Date: 3 Sep 85 08:19:07 GMT |
.\" Date: 3 Sep 85 08:19:07 GMT |
.\" Organization: Sun Microsystems, Inc. |
.\" Organization: Sun Microsystems, Inc. |
.\" Lines: 136 |
.\" Lines: 136 |
.\" |
.\" |
.\" Here's a manual page for the format accepted by the "file" made by adding |
.\" Here's a manual page for the format accepted by the "file" made by adding |
.\" the changes I posted to the S5R2 version. |
.\" the changes I posted to the S5R2 version. |
.\" |
.\" |