From b5b7c176021dcf97132bde8ba63399c0a8019cae Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 20 Sep 2007 21:58:29 +0200 Subject: [PATCH] qma: pipe output through col -b to fix issues with UTF-8 --- debian/changelog | 7 +++++++ usr_bin/qma | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 84e263a..965581b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +grml-scripts (1.0.18) unstable; urgency=low + + * qma: pipe output through 'col -b' to fix issues with UTF-8. + Thanks for the solution, wuehlmaus! + + -- Michael Prokop Thu, 20 Sep 2007 21:57:21 +0200 + grml-scripts (1.0.17) unstable; urgency=low * Drop console-tools from depends and move it to grml-autoconfig diff --git a/usr_bin/qma b/usr_bin/qma index 1a4c573..cece1da 100755 --- a/usr_bin/qma +++ b/usr_bin/qma @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop , Matthias Kopfermann # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Sam Dez 16 17:24:05 CET 2006 [maddi] +# Latest change: Don Sep 20 21:56:52 CEST 2007 [mika] ################################################################################ . /etc/grml/lsb-functions @@ -56,7 +56,7 @@ QUICKMAN="${MANDIR}/${MANPAGE}${SECTIONFILE}.txt.lzo" if ! [ -f "$QUICKMAN" ] ; then einfo "Writing manpage to $QUICKMAN" if man $SECTION $MANPAGE 1>/dev/null ; then - man $SECTION $MANPAGE | lzop -U >$QUICKMAN ; eend $? + man $SECTION $MANPAGE | col -b | lzop -U >$QUICKMAN ; eend $? einfo "Compressing manpage with lzop" eend $? else -- 2.1.4