|
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 | |
|---|
| 3 | pfad=.. |
|---|
| 4 | |
|---|
| 5 | # Compose-Module |
|---|
| 6 | anzahl=4 |
|---|
| 7 | |
|---|
| 8 | m[1]=mathephysik # Modul |
|---|
| 9 | b[1]="mathematische und physikalische Zeichen (≥ ∉ ℏ ℃)" # Beschreibung |
|---|
| 10 | d[1]=Compose_math_and_physics.neo # Datei |
|---|
| 11 | |
|---|
| 12 | m[2]=griechisch |
|---|
| 13 | b[2]="griechische Buchstaben (A ἀ)" |
|---|
| 14 | d[2]=Compose_greek.neo |
|---|
| 15 | |
|---|
| 16 | m[3]=rom |
|---|
| 17 | b[3]="römische Zahlen >12 (große Datei!) (1868→ⅿⅾⅽⅽⅽⅼⅹⅴⅰⅰⅰ)" |
|---|
| 18 | d[3]=Compose_many_roman_numericals.neo |
|---|
| 19 | |
|---|
| 20 | m[4]=klingonisch |
|---|
| 21 | b[4]="klingonische Zahlen (große Datei!) (1984→wa'SaD Hutvatlh chorghmaH loS)" |
|---|
| 22 | d[4]=Compose_many_klingon_numericals.neo |
|---|
| 23 | |
|---|
| 24 | m[0]=standard |
|---|
| 25 | d[0]=Compose.neo |
|---|
| 26 | |
|---|
| 27 | |
|---|
| 28 | menu=`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` |
|---|
| 29 | auswahl=`echo \"${m[0]}\" $menu` |
|---|
| 30 | |
|---|
| 31 | |
|---|
| 32 | rm $pfad/XCompose |
|---|
| 33 | for i in $(seq 0 $anzahl) |
|---|
| 34 | do |
|---|
| 35 | echo $auswahl | grep ${m[$i]} > /dev/null && cat $pfad/${d[$i]} >> $pfad/XCompose |
|---|
| 36 | done |
|---|