325-magic-add-sgf.dpatch 977 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 -Naurp file-4.24.orig/magic/Magdir/games file-4.24/magic/Magdir/games
  7. --- file-4.24.orig/magic/Magdir/games 2008-02-19 17:27:30.000000000 +0000
  8. +++ file-4.24/magic/Magdir/games 2008-04-07 08:09:12.000000000 +0000
  9. @@ -151,3 +151,16 @@
  10. >4 lelong x containing %d lumps
  11. 0 string =PWAD doom patch PWAD data
  12. >4 lelong x containing %d lumps
  13. +
  14. +# Type: SGF Smart Game Format
  15. +# URL: http://www.red-bean.com/sgf/
  16. +# From: Eduardo Sabbatella <eduardo_sabbatella@yahoo.com.ar>
  17. +
  18. +2 regex/c \\(;.*GM\\[[0-9]{1,2}\\] Smart Game Format
  19. +>2 regex/c GM\\[1\\] - Go Game
  20. +>2 regex/c GM\\[6\\] - BackGammon Game
  21. +>2 regex/c GM\\[11\\] - Hex Game
  22. +>2 regex/c GM\\[18\\] - Amazons Game
  23. +>2 regex/c GM\\[19\\] - Octi Game
  24. +>2 regex/c GM\\[20\\] - Gess Game
  25. +>2 regex/c GM\\[21\\] - twix Game