From: Oleg Broytman Date: Fri, 5 Jun 2020 17:21:03 +0000 (+0300) Subject: .mc: Use `iconv.py` and run a pager X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=3227884a70b602cc8f04c474f131fbaff7ba207c;p=dotfiles.git .mc: Use `iconv.py` and run a pager --- 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