summaryrefslogtreecommitdiff
path: root/usr.bin/file/magdir/rtf
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2009-04-24 18:54:35 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2009-04-24 18:54:35 +0000
commit8dcb5d1d2940d843dabdcef31bc8cb2dba817119 (patch)
tree7458bf3b9120705a836b9e56b7925dce2cf42159 /usr.bin/file/magdir/rtf
parenta75d7de4707e3d43e0e869059021172cadecca54 (diff)
file update to 4.24
The '-i' switch is now enabled so file(1) can output mime type strings. ok ian@ builk ports build test on amd64 by jasper@ ok ray@ gilles@ on a almost identical diff builk ports build test on sparc64 on this almost identical diff by ajacoutot@ also tested by landry@
Diffstat (limited to 'usr.bin/file/magdir/rtf')
-rw-r--r--usr.bin/file/magdir/rtf15
1 files changed, 9 insertions, 6 deletions
diff --git a/usr.bin/file/magdir/rtf b/usr.bin/file/magdir/rtf
index d4c4014cea3..2c9ed84502f 100644
--- a/usr.bin/file/magdir/rtf
+++ b/usr.bin/file/magdir/rtf
@@ -1,4 +1,4 @@
-# $OpenBSD: rtf,v 1.3 2004/06/03 03:14:20 tedu Exp $
+# $OpenBSD: rtf,v 1.4 2009/04/24 18:54:34 chl Exp $
#------------------------------------------------------------------------------
# rtf: file(1) magic for Rich Text Format (RTF)
@@ -6,8 +6,11 @@
# Duncan P. Simpson, D.P.Simpson@dcs.warwick.ac.uk
#
0 string {\\rtf Rich Text Format data,
->5 byte x version %c,
->6 string \\ansi ANSI
->6 string \\mac Apple Macintosh
->6 string \\pc IBM PC, code page 437
->6 string \\pca IBM PS/2, code page 850
+!:mime text/rtf
+>5 string 1 version 1,
+>>6 string \\ansi ANSI
+>>6 string \\mac Apple Macintosh
+>>6 string \\pc IBM PC, code page 437
+>>6 string \\pca IBM PS/2, code page 850
+>>6 default x unknown character set
+>5 default x unknown version