Skip to content

Commit

Permalink
limit to 100 repetitions to avoid excessive backtracking Carsten Wolff
Browse files Browse the repository at this point in the history
  • Loading branch information
zoulasc committed Mar 25, 2013
1 parent fd76325 commit ef2329c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions magic/Magdir/commands
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

#------------------------------------------------------------------------------
# $File: commands,v 1.44 2013/02/05 15:20:47 christos Exp $
# $File: commands,v 1.45 2013/02/06 14:18:52 christos Exp $
# commands: file(1) magic for various shells and interpreters
#
#0 string/w : shell archive or script for antique kernel text
Expand Down Expand Up @@ -49,7 +49,7 @@
!:mime text/x-awk
0 string/wt #!\ /usr/bin/awk awk script text executable
!:mime text/x-awk
0 regex =^\\s*BEGIN\\s*[{] awk script text
0 regex =^\\s{0,100}BEGIN\\s{0,100}[{] awk script text

# AT&T Bell Labs' Plan 9 shell
0 string/wt #!\ /bin/rc Plan 9 rc shell script text executable
Expand Down

0 comments on commit ef2329c

Please sign in to comment.