From 3227884a70b602cc8f04c474f131fbaff7ba207c Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 5 Jun 2020 20:21:03 +0300 Subject: [PATCH] .mc: Use `iconv.py` and run a pager --- .mc/mc.ext | 2 +- .mc/menu | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.mc/mc.ext b/.mc/mc.ext index 8ccf478..9ee0d2d 100644 --- a/.mc/mc.ext +++ b/.mc/mc.ext @@ -791,7 +791,7 @@ include/msoffice-doc include/msoffice-xlsx Edit=libreoffice %f & Open=libreoffice %f & - View=%view{ascii} xlsx2csv %f | iconv -f utf-8 + View=%view{ascii} xlsx2csv %f | iconv.py -f utf-8 include/video Open=mplayer %f & diff --git a/.mc/menu b/.mc/menu index 6179a67..c484d3c 100644 --- a/.mc/menu +++ b/.mc/menu @@ -92,7 +92,7 @@ d View docx with docx2txt += t lr & f \.(xls|XLS|xlsx|XLSX)$ o View OpenXlsx with xlsx2csv - xlsx2csv %f | iconv -f utf-8 | ${PAGER:-more} + xlsx2csv %f | iconv.py -f utf-8 | ${PAGER:-more} += t lr & f \.(xls|XLS)$ x View xls with xls2csv -- 2.39.5