From 3ca5036825fab9037c4cfced7925459e65d7d063 Mon Sep 17 00:00:00 2001 From: pascal Date: Tue, 12 Aug 2008 11:22:51 +0000 Subject: grrr, das war der letzte Schönheitsfehler, will eigentlich längst aufhören MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.neo-layout.org@754 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- linux/bin/beschreibe | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'linux/bin/beschreibe') diff --git a/linux/bin/beschreibe b/linux/bin/beschreibe index 00f9c75..c2682e1 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 -- cgit v1.2.3