]> granicus.if.org Git - file/commitdiff
remove line number mention in regex. We don't want to scan binary files
authorChristos Zoulas <christos@zoulas.com>
Tue, 3 Jun 2014 17:36:13 +0000 (17:36 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 3 Jun 2014 17:36:13 +0000 (17:36 +0000)
that don't have \n's forever, so make the limit be the number of bytes.

doc/magic.man

index 955455c99c9c98da7f882e0314480e3a176316be..2cd60d42e2ba04fae3b4418df90651ade466cb31 100644 (file)
@@ -1,5 +1,5 @@
-.\" $File: magic.man,v 1.82 2014/05/30 16:51:23 christos Exp $
-.Dd May 30, 2014
+.\" $File: magic.man,v 1.83 2014/06/03 17:36:13 christos Exp $
+.Dd June 3, 2014
 .Dt MAGIC __FSECTION__
 .Os
 .\" install as magic.4 on USG, magic.5 on V7, Berkeley and Linux systems.
@@ -238,12 +238,6 @@ The
 flag makes the match case insensitive, while the
 .Dq s
 flag update the offset to the start offset of the match, rather than the end.
-The regular expression is tested against line
-.Dv N + 1
-onwards, where
-.Dv N
-is the given offset.
-Line endings are assumed to be in the machine's native format.
 .Dv ^
 and
 .Dv $