root/Compose/eigene_Compose_erstellen/linux @ 1701

Revision 1701, 1.0 KB (checked in by pascal, 4 years ago)

Bash-Hinweis hinzugefügt

  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3pfad=..
4
5# Compose-Module
6anzahl=4
7
8m[1]=mathephysik                                                        # Modul
9b[1]="mathematische und physikalische Zeichen (≥ ∉ ℏ ℃)"                # Beschreibung
10d[1]=Compose_math_and_physics.neo                                       # Datei
11
12m[2]=griechisch
13b[2]="griechische Buchstaben (A ἀ)"
14d[2]=Compose_greek.neo
15
16m[3]=rom
17b[3]="römische Zahlen >12 (große Datei!) (1868→ⅿⅾⅽⅽⅽⅼⅹⅴⅰⅰⅰ)"
18d[3]=Compose_many_roman_numericals.neo
19
20m[4]=klingonisch
21b[4]="klingonische Zahlen (große Datei!) (1984→wa'SaD Hutvatlh chorghmaH loS)"
22d[4]=Compose_many_klingon_numericals.neo
23
24m[0]=standard
25d[0]=Compose.neo
26
27
28menu=`kdialog --title Compose-Module --checklist " Wählen Sie die optionalen Compose-Module von Neo aus, die Sie verwenden möchten. " ${m[1]} "${b[1]}" off ${m[2]} "${b[2]}" off ${m[3]} "${b[3]}" off ${m[4]} "${b[4]}" off`
29auswahl=`echo \"${m[0]}\" $menu`
30
31
32rm $pfad/XCompose
33for i in $(seq 0 $anzahl)
34do
35        echo $auswahl | grep ${m[$i]} > /dev/null && cat $pfad/${d[$i]} >> $pfad/XCompose
36done
Note: See TracBrowser for help on using the browser.