summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorpascal <pascal@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-08-12 06:18:27 +0000
committerpascal <pascal@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-08-12 06:18:27 +0000
commit11809a9449ebb02671d8c80fe1226910491a1f97 (patch)
tree60ce0b107c17164b09ba88834deed5163c8a821d /linux
parentd24f7478db0b8245268aea20613d148ed342b53a (diff)
downloadneo-layout-11809a9449ebb02671d8c80fe1226910491a1f97.tar.gz
neo-layout-11809a9449ebb02671d8c80fe1226910491a1f97.tar.bz2
neo-layout-11809a9449ebb02671d8c80fe1226910491a1f97.zip
kleinere Verbesserungen
git-svn-id: https://svn.neo-layout.org@750 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'linux')
-rwxr-xr-xlinux/bin/wiemitneo4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/bin/wiemitneo b/linux/bin/wiemitneo
index 79d7d5e..69dadef 100755
--- a/linux/bin/wiemitneo
+++ b/linux/bin/wiemitneo
@@ -4,7 +4,7 @@
COMPOSE=/usr/share/X11/locale/en_US.UTF-8/Compose
REFERENZ=$HOME/neo/A-REFERENZ-A/neo20.txt
-zeichen=$1
+zeichen=`echo $1 | cut -c1`
# suche nach diesem Zeichen
typeset -i z s e
# z=zeile, s=spalte, e=Ebene
@@ -90,7 +90,7 @@ then
echo
echo Außerdem ist $zeichen über Compose folgendermaßen darstellbar:
fi
- grep $such $COMPOSE | cut -f1 -d: | sed -e 's/> </> + </g'
+ grep ^\<.*$such $COMPOSE | cut -f1 -d: | sed -e 's/> </> + </g'
else
# $zeichen gibt es nicht als Compose
if [ "$keinetaste" = "1" ]