From: Christos Zoulas Date: Wed, 4 Apr 2007 16:51:35 +0000 (+0000) Subject: make the rexx expressions safer to use from Mark.Martinec@ijs.si X-Git-Tag: FILE4_21~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9018db2acf7a6883f22dbde941c09a3271920ae5;p=file make the rexx expressions safer to use from Mark.Martinec@ijs.si --- diff --git a/magic/Magdir/msdos b/magic/Magdir/msdos index 09e04168..4b447e67 100644 --- a/magic/Magdir/msdos +++ b/magic/Magdir/msdos @@ -14,6 +14,9 @@ # OS/2 batch files are REXX. the second regex is a bit generic, oh well # the matched commands seem to be common in REXX and uncommon elsewhere +100 regex/c =^[\ \t]{0,999}call[\ \t]{1,999}rxfu OS/2 REXX batch file text +100 regex/c =^[[:space:]]{0,999}say\ ['"] OS/2 REXX batch file text + 100 regex/c =^\\s*call\\s+rxfuncadd.*sysloadfu OS/2 REXX batch file text 100 regex/c =^\\s*say\ ['"] OS/2 REXX batch file text