# HG changeset patch # User Oleksandr Gavenko # Date 1396432003 -10800 # Node ID 897df168fda749d1c428cc30a7650fe02df082b3 # Parent 830e42c4a6249342018ed11f4878c0f12af4b854 Fix XLS and DOC file handling by MC. diff -r 830e42c4a624 -r 897df168fda7 .config/mc/mc.ext --- a/.config/mc/mc.ext Fri Mar 28 00:12:05 2014 +0200 +++ b/.config/mc/mc.ext Wed Apr 02 12:46:43 2014 +0300 @@ -192,13 +192,19 @@ regex/\.[sS]?[hH][tT][mM][lL]?$ Open=see %f 2>/dev/null & +regex/\.[Dd][Oo][Cc][Xx]?$ + Open=see %f >/dev/null 2>&1 & +regex/\.[Xx][Ll][Ss][xX]?$ + Include=my-msword +shell/.docx$ + Include=my-msword regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$ - Include=msword + Include=my-msword type/^Microsoft\ Word - Include=msword + Include=my-msword type/^Microsoft\ Office\ Document - Include=msword -include/msword + Include=my-msword +include/my-msword Open=see %f >/dev/null 2>&1 & View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f