Microsoft Office Document.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 10 Apr 2012 00:04:16 +0300
changeset 339 87ba9bf5f1dd
parent 338 02f1098079ef
child 340 7ec51d447f22
child 427 59627b533219
Microsoft Office Document.
.config/mc/mc.ext
--- a/.config/mc/mc.ext	Mon Apr 09 23:40:19 2012 +0300
+++ b/.config/mc/mc.ext	Tue Apr 10 00:04:16 2012 +0300
@@ -187,6 +187,16 @@
     Open=see %f 2>/dev/null &
     View=%view{ascii} catdoc -w %f
 
+regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$
+    Include=msword
+type/^Microsoft\ Word
+    Include=msword
+type/^Microsoft\ Office\ Document
+    Include=msword
+include/msword
+	Open=see %f >/dev/null 2>&1 &
+	View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f
+
 ################################################################
 # Build rules.