From: Simon Ruderich Date: Mon, 24 Apr 2017 10:15:11 +0000 (+0200) Subject: lessfilter: support nfo files X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=f636535b6829dad00f1264524f0693109b2361c6;p=config%2Fdotfiles.git lessfilter: support nfo files --- diff --git a/lessfilter b/lessfilter index 442efa9..1403df4 100755 --- a/lessfilter +++ b/lessfilter @@ -23,6 +23,11 @@ case "$1" in *.diff | *.patch) colordiff <"$1" ;; + + *.nfo) + iconv -f latin1 -t utf-8 <"$1" + ;; + *) # Display directory contents. if test -d "$1"; then