325-magic-add-sgf.dpatch 955 B

123456789101112131415161718192021222324252627
  1. #!/bin/sh /usr/share/dpatch/dpatch-run
  2. ## 323-magic-add-sgf.dpatch by Eduardo Sabbatella <eduardo_sabbatella@yahoo.com.ar>
  3. ##
  4. ## DP: New magic for SGF Smart Game Format
  5. @DPATCH@
  6. diff -Naur file-4.21.orig/magic/Magdir/games file-4.21/magic/Magdir/games
  7. --- file-4.21.orig/magic/Magdir/games 2004-03-22 20:24:48.000000000 +0000
  8. +++ file-4.21/magic/Magdir/games 2007-08-26 07:59:12.000000000 +0000
  9. @@ -155,3 +155,16 @@
  10. 0 string MComprHD MAME CHD compressed hard disk image,
  11. >12 belong x version %lu
  12. +
  13. +# Type: SGF Smart Game Format
  14. +# URL: http://www.red-bean.com/sgf/
  15. +# From: Eduardo Sabbatella <eduardo_sabbatella@yahoo.com.ar>
  16. +
  17. +2 regex/c \\(;.*GM\\[[0-9]{1,2}\\] Smart Game Format
  18. +>2 regex/c GM\\[1\\] - Go Game
  19. +>2 regex/c GM\\[6\\] - BackGammon Game
  20. +>2 regex/c GM\\[11\\] - Hex Game
  21. +>2 regex/c GM\\[18\\] - Amazons Game
  22. +>2 regex/c GM\\[19\\] - Octi Game
  23. +>2 regex/c GM\\[20\\] - Gess Game
  24. +>2 regex/c GM\\[21\\] - twix Game