psdbms 484 B

1234567891011121314
  1. #------------------------------------------------------------------------------
  2. # $File: psdbms,v 1.7 2016/01/08 00:41:02 christos Exp $
  3. # psdbms: file(1) magic for psdatabase
  4. #
  5. # Update: Joerg Jenderek
  6. # GRR: line below too general as it catches also some Panorama database *.pan ,
  7. # AppleWorks word processor
  8. 0 belong&0xff00ffff 0x56000000
  9. # assume version starts with digit
  10. >1 regex/s =^[0-9] ps database
  11. >>1 string >\0 version %s
  12. # kernel name
  13. >>4 string >\0 from kernel %s