File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1- .\" $File: magic.man,v 1.80 2014/03/07 23:11:16 christos Exp $
2- .Dd April 22, 2013
1+ .\" $File: magic.man,v 1.81 2014/03/08 17:28:08 christos Exp $
2+ .Dd May 30, 2014
33.Dt MAGIC __FSECTION__
44.Os
55.\" install as magic.4 on USG, magic.5 on V7, Berkeley and Linux systems.
@@ -228,7 +228,10 @@ Regular expressions can take exponential time to process, and their
228228performance is hard to predict, so their use is discouraged.
229229When used in production environments, their performance
230230should be carefully checked.
231- The type specification can be optionally followed by
231+ The size of the string to search should also be limited by specifying
232+ .Dv /<length> ,
233+ to avoid performance issues scanning long files.
234+ The type specification can also be optionally followed by
232235.Dv /[c][s] .
233236The
234237.Dq c
You can’t perform that action at this time.
0 commit comments