summaryrefslogtreecommitdiffstats
path: root/magic/Magdir/psdbms
diff options
context:
space:
mode:
Diffstat (limited to 'magic/Magdir/psdbms')
-rw-r--r--magic/Magdir/psdbms14
1 files changed, 14 insertions, 0 deletions
diff --git a/magic/Magdir/psdbms b/magic/Magdir/psdbms
new file mode 100644
index 0000000..3eec965
--- /dev/null
+++ b/magic/Magdir/psdbms
@@ -0,0 +1,14 @@
+
+#------------------------------------------------------------------------------
+# $File: psdbms,v 1.8 2017/03/17 21:35:28 christos Exp $
+# psdbms: file(1) magic for psdatabase
+#
+# Update: Joerg Jenderek
+# GRR: line below too general as it catches also some Panorama database *.pan ,
+# AppleWorks word processor
+0 belong&0xff00ffff 0x56000000
+# assume version starts with digit
+>1 regex/s =^[0-9] ps database
+>>1 string >\0 version %s
+# kernel name
+>>4 string >\0 from kernel %s