Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | The awk pattern was checked *before* the Perl pattern, so the |
| 2 | perl script with BEGIN{...} would be reported as awk, this patch fixes it. |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 3 | |
| 4 | Upstream-Status: Backport [debian] |
| 5 | |
| 6 | Signed-off-by: Christoph Biedl <debian.axhn@manchmal.in-ulm.de> |
| 7 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 8 | |
| 9 | Rebase on 5.31 |
| 10 | |
| 11 | Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.com> |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 12 | --- |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 13 | magic/Magdir/commands | 1 + |
| 14 | 1 file changed, 1 insertion(+) |
| 15 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 16 | diff --git a/magic/Magdir/commands b/magic/Magdir/commands |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame^] | 17 | index f6ad1c8..f79e7dd 100644 |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 18 | --- a/magic/Magdir/commands |
| 19 | +++ b/magic/Magdir/commands |
| 20 | @@ -57,6 +57,7 @@ |
| 21 | 0 string/wt #!\ /usr/bin/awk awk script text executable |
| 22 | !:mime text/x-awk |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame^] | 23 | 0 regex/4096 =^[\040\t\f\r\n]{0,100}BEGIN[\040\t\f\r\n]{0,100}[{] awk or perl script text |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 24 | +!:strength - 12 |
| 25 | |
| 26 | # AT&T Bell Labs' Plan 9 shell |
| 27 | 0 string/wt #!\ /bin/rc Plan 9 rc shell script text executable |