# HG changeset patch # User Oleksandr Gavenko # Date 1334005456 -10800 # Node ID 87ba9bf5f1dd5405b5a1e63122427625be66e68d # Parent 02f1098079ef435a49cc316124f812440503819a Microsoft Office Document. diff -r 02f1098079ef -r 87ba9bf5f1dd .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.