summaryrefslogtreecommitdiff
path: root/linux/bin/installiere_neo/erzeuge.installiere_neo
blob: a1102831a0c9b125d65f3bcde45f79a873c647e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash

fuege_ein() {
datei=$2
name=$1
name_gross=`echo $name | tr [:lower:] [:upper:]`

cp $datei ./erzeuge_installiere_neo.bak1
sed s/\\$/\\\\$/g erzeuge_installiere_neo.bak1 > erzeuge_installiere_neo.bak2
sed s/\`/\\\\\`/g erzeuge_installiere_neo.bak2 > erzeuge_installiere_neo.bak3

echo
echo "$name ()"
echo "{"
echo "cat <<$name_gross"
cat ./erzeuge_installiere_neo.bak3
echo $name_gross
echo "}"
rm ./erzeuge_installiere_neo.bak[123]
}


cat installiere_neo.1
echo 

fuege_ein neo_xmodmap ../../xmodmap/neo_de.xmodmap
fuege_ein neo_console ../../console/neo.map
fuege_ein neo_asdf ../asdf
fuege_ein neo_uiae ../uiae
fuege_ein neo_referenz ../../../A-REFERENZ-A/neo20.txt
fuege_ein neo_neo ../neo
fuege_ein neo_num ../num
fuege_ein neo_compose ../../../Compose/Compose.neo
fuege_ein neorc neo.conf.erzeuge.installiere_neo

cat installiere_neo.2