"Fossies" - the Fresh Open Source Software Archive

Member "file-5.35/magic/Magdir/psdbms" (17 Mar 2017, 483 Bytes) of package /linux/misc/file-5.35.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "psdbms": 5.30_vs_5.31.

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