]> git.phdru.name Git - dotfiles.git/commitdiff
.mc: Use `iconv.py` and run a pager
authorOleg Broytman <phd@phdru.name>
Fri, 5 Jun 2020 17:21:03 +0000 (20:21 +0300)
committerOleg Broytman <phd@phdru.name>
Fri, 5 Jun 2020 17:21:03 +0000 (20:21 +0300)
.mc/mc.ext
.mc/menu

index 8ccf478683865c08504f6ced582392863dfc147c..9ee0d2d7497eccf88b9c1caeb2b7522062a89ac1 100644 (file)
@@ -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 &
index 6179a675e81138f9c53260def2b11701278e0736..c484d3c8e103eca4f6955dd02bfea8444129fcb6 100644 (file)
--- 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