xref: /freebsd/contrib/file/magic/Magdir/sylk (revision 02e9120893770924227138ba49df1edb3896112a)
1
2#------------------------------------------------------------------------------
3# $File: sylk,v 1.1 2020/04/05 22:18:34 christos Exp $
4# sylk:  file(1) magic for SYLK text files
5
6# From:	Joerg Jenderek
7# URL:	https://en.wikipedia.org/wiki/SYmbolic_LinK_%28SYLK%29
8#	http://fileformats.archiveteam.org/wiki/SYLK
9# Note:	called by TrID "SYLK - SYmbolic LinK data",
10#	by DROID "Microsoft Symbolic Link (SYLK) File"
11#	by FreeDesktop.org "spreadsheet interchange document"
120	string		ID;P
13# skip short DROID x-fmt-106-signature-id-603.slk
14>7	ubyte		>0		spreadsheet interchange document
15# https://reposcope.com/mimetype/text/spreadsheet
16#!:mime	text/spreadsheet
17# https://reposcope.com/mimetype/application/x-sylk	by Gnumeric
18!:mime	application/x-sylk
19!:ext	slk/sylk
20>>4	ubyte		>037		\b, created by
21# Gnumeric, pmw~PlanMaker, CALCOOO32~LibreOffice OpenOffice, SCALC3~StarOffice
22# MP~Multiplan, XL~Excel WXL~Excel Windows
23>>>4	string		Gnumeric	Gnumeric
24>>>4	string		pmw		PlanMaker
25>>>4	string		CALCOOO32	Libre/OpenOffice Calc
26>>>4	string		SCALC3		StarOffice Calc
27>>>4	string		XL		Excel
28# Excel, version probably running on Windows
29>>>4	string		WXL		Excel
30# not tested
31>>>4	string		MP		Multiplan
32# unknown spreadsheet software
33>>>4	default		x
34>>>>4	string		x		%s
35
36
37