- fix recognition of perl script with embed awk (#203610)

This commit is contained in:
Martin Bacovsky 2006-08-23 16:14:07 +00:00
parent 4f1f1596af
commit 17b3db3b95
2 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,7 @@
0 string/b #!\ /usr/bin/awk awk script text executable
# update to distinguish from *.vcf files
-0 regex BEGIN[[:space:]]*[{] awk script text
+0 regex [^'"]BEGIN[[:space:]]*[{] awk script text
+#0 regex [^'"]BEGIN[[:space:]]*[{] awk script text
# AT&T Bell Labs' Plan 9 shell
0 string/b #!\ /bin/rc Plan 9 rc shell script text executable

View File

@ -3,7 +3,7 @@
Summary: A utility for determining file types.
Name: file
Version: 4.17
Release: 7
Release: 8
License: distributable
Group: Applications/File
Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
@ -97,6 +97,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libmagic.*
%changelog
* Wed Aug 23 2006 Martin Bacovsky <mbacovsky@redhat.com> - 4.17-8
- fix recognition of perl script with embed awk (#203610)
* Fri Aug 18 2006 Martin Bacovsky <mbacovsk@redhat.com> - 4.17-7
- fix recognition of bash script with embed awk (#202185)