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 2008-05-04 14:12:49.000000000 +0000
  5. +++ file/magic/Magdir/commands 2008-05-21 09:36:15.000000000 +0000
  6. @@ -49,6 +49,7 @@
  7. # update to distinguish from *.vcf files
  8. # this is broken because postscript has /EBEGIN{ for example.
  9. #0 search/Bb BEGIN { awk script text
  10. +0 regex =^\\s*BEGIN\\s*[{] awk script text
  11. # AT&T Bell Labs' Plan 9 shell
  12. 0 string/b #!\ /bin/rc Plan 9 rc shell script text executable