101-magic-update-awk.patch 602 B

1234567891011121314
  1. Author: Werner Fink <werner@suse.de>
  2. Description: Updates (and re-enables) awk magic.
  3. diff -Naurp file.orig/magic/Magdir/commands file/magic/Magdir/commands
  4. --- file.orig/magic/Magdir/commands 2010-01-30 09:44:26.000000000 +0000
  5. +++ file/magic/Magdir/commands 2010-02-01 11:51:38.000000000 +0000
  6. @@ -50,6 +50,7 @@
  7. # update to distinguish from *.vcf files
  8. # this is broken because postscript has /EBEGIN{ for example.
  9. #0 search/Ww BEGIN { awk script text
  10. +0 regex =^\\s*BEGIN\\s*[{] awk script text
  11. # AT&T Bell Labs' Plan 9 shell
  12. 0 string/w #!\ /bin/rc Plan 9 rc shell script text executable