[Lunar-commits] r27010 - lunar/trunk/var/lib/lunar/functions
Stefan Wold
ratler at lunar-linux.org
Thu Feb 28 08:24:53 CET 2008
Author: ratler
Date: 2008-02-28 08:24:53 +0100 (Thu, 28 Feb 2008)
New Revision: 27010
Modified:
lunar/trunk/var/lib/lunar/functions/view.lunar
Log:
Let us view install-logs with UTF-8 encoded file names
Modified: lunar/trunk/var/lib/lunar/functions/view.lunar
===================================================================
--- lunar/trunk/var/lib/lunar/functions/view.lunar 2008-02-28 01:19:22 UTC (rev 27009)
+++ lunar/trunk/var/lib/lunar/functions/view.lunar 2008-02-28 07:24:53 UTC (rev 27010)
@@ -14,13 +14,14 @@
# show a file $1
case $(file -b $1 | cut -d' ' -f1) in
ASCII) cat $1 | ${PAGER:-less} ;;
+ UTF-8) cat $1 | ${PAGER:-less} ;;
bzip2) cat $1 | bzcat | ${PAGER:-less} ;;
gzip) cat $1 | zcat | ${PAGER:-less} ;;
data) cat $1 | ${PAGER:-less} ;;
esac
else
cat | ${PAGER:-less}
- fi
-}
+ fi
+}
More information about the Lunar-commits
mailing list