From ce2aa78013e0c85ea7968060f8b3d31164ac9bc4 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Mon, 18 Feb 2008 18:32:31 +0000 Subject: [PATCH] Note that search patterns can use the same modifiers as string patterns. --- doc/magic.man | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/magic.man b/doc/magic.man index 086a9d7a..f8789a96 100644 --- a/doc/magic.man +++ b/doc/magic.man @@ -1,4 +1,4 @@ -.\" $File: magic.man,v 1.49 2008/02/18 18:09:00 rrt Exp $ +.\" $File: magic.man,v 1.50 2008/02/18 18:28:51 rrt Exp $ .Dd January 10, 2007 .Dt MAGIC __FSECTION__ .Os @@ -169,8 +169,9 @@ and match the beginning and end of individual lines, respectively, not beginning and end of file. .It Dv search -A literal string search starting at the given offset. -It must be followed by +A literal string search starting at the given offset. The same +modifier flags can be used as for string patterns. The modifier flags +(if any) must be followed by .Dv /\*[Lt]number\*[Gt] which specifies how many matches shall be attempted (the range). This is suitable for searching larger binary expressions with variable @@ -475,4 +476,4 @@ a system on which the lengths are invariant. .\" the changes I posted to the S5R2 version. .\" .\" Modified for Ian Darwin's version of the file command. -.\" @(#)$Id: magic.man,v 1.50 2008/02/18 18:28:51 rrt Exp $ +.\" @(#)$Id: magic.man,v 1.51 2008/02/18 18:32:31 rrt Exp $ -- 2.50.1