242-magic-add-gdsii.patch 648 B

1234567891011121314151617
  1. Author: Євгеній Мещеряков <eugen@debian.org>
  2. Description: Adding new magics for GDSII (Closes: #576462).
  3. diff -Naurp file.orig/magic/Magdir/scientific file/magic/Magdir/scientific
  4. --- file.orig/magic/Magdir/scientific 2010-07-13 19:20:16.702717178 +0200
  5. +++ file/magic/Magdir/scientific 2010-07-13 19:19:47.037693749 +0200
  6. @@ -97,3 +97,10 @@
  7. >>>>&0 regex/1 [A-Z0-9]{4} Protein Data Bank data, ID Code %s
  8. !:mime chemical/x-pdb
  9. >>>>0 regex/1 [0-9]{2}-[A-Z]{3}-[0-9]{2} \b, %s
  10. +
  11. +# Type: GDSII Stream file
  12. +0 belong 0x00060002 GDSII Stream file
  13. +>4 byte 0x00
  14. +>>5 byte x version %d.0
  15. +>4 byte >0x00 version %d
  16. +>>5 byte x \b.%d