From 10b7f9c244ca8fa67dce3bbe15d0bb643b95f89c Mon Sep 17 00:00:00 2001 From: pascal Date: Tue, 12 Aug 2008 11:22:51 +0000 Subject: [PATCH] =?UTF-8?q?grrr,=20das=20war=20der=20letzte=20Sch=C3=B6nhe?= =?UTF-8?q?itsfehler,=20will=20eigentlich=20l=C3=A4ngst=20aufh=C3=B6ren?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- linux/bin/beschreibe | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/linux/bin/beschreibe b/linux/bin/beschreibe index 00f9c750..c2682e1a 100755 --- a/linux/bin/beschreibe +++ b/linux/bin/beschreibe @@ -34,10 +34,10 @@ done anzahl=`grep -iw $beschreibung $COMPOSE | head -$n | wc -l` if [ $anzahl -gt 0 ] then - ausgabe=1 for i in $(seq 1 $anzahl) do j=j+1 + ausgabe=1 a[$j]=`grep -iw $beschreibung $COMPOSE | grep ^\< | head -$i | tail -1 | cut -f2 -d \"` echo $j\) ${a[$j]} done @@ -46,7 +46,6 @@ fi anzahl2=`grep -i [\ _]$beschreibung[\ _] $KEYSYM | head -$n | wc -l` if [ $anzahl2 -gt 0 ] then - ausgabe=1 for i in $(seq 1 $anzahl2) do c=`grep -i [\ _]$beschreibung[\ _] $KEYSYM | grep ^#define | head -$i | tail -1 | cut -f2- -d\* | cut -f2- -d+ | cut -f1 -d\ ` @@ -57,6 +56,7 @@ then case $c1 in 00) j=j+1 + ausgabe=1 a[$j]=`echo -e \\\x${c2}` echo $j\) ${a[$j]} ;; @@ -64,11 +64,13 @@ then if [ "$c2" = "C" ] then j=j+1 + ausgabe=1 a[$j]=`echo -e \\\xcf\\\x8${c3}` echo $j\) ${a[$j]} else j=j+1 + ausgabe=1 a[$j]=`echo -e \\\xce\\\x${c2}${c3}` echo $j\) ${a[$j]} fi