aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/rules/bin/mln_s.sh
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-02-28 20:02:05 +0000
committermarha <marha@users.sourceforge.net>2010-02-28 20:02:05 +0000
commit9370f043060a1d08bb51484a58c52db85a4ea656 (patch)
tree565341da769f2c77058ca0fb482ac39979fa0de3 /xorg-server/xkbdata.src/rules/bin/mln_s.sh
parent1ad46cbf3a9963f3d6d8c687480a80d359ec15f8 (diff)
downloadvcxsrv-9370f043060a1d08bb51484a58c52db85a4ea656.tar.gz
vcxsrv-9370f043060a1d08bb51484a58c52db85a4ea656.tar.bz2
vcxsrv-9370f043060a1d08bb51484a58c52db85a4ea656.zip
Git update xkeyboard-config 28-2-2010
Diffstat (limited to 'xorg-server/xkbdata.src/rules/bin/mln_s.sh')
-rw-r--r--xorg-server/xkbdata.src/rules/bin/mln_s.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/xorg-server/xkbdata.src/rules/bin/mln_s.sh b/xorg-server/xkbdata.src/rules/bin/mln_s.sh
new file mode 100644
index 000000000..4a615fe7d
--- /dev/null
+++ b/xorg-server/xkbdata.src/rules/bin/mln_s.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+variant=$1
+
+INDIR=$2
+OUTFILE=base.ml${variant}_s.part
+
+> $OUTFILE
+
+awk '{
+ if (index($2, "(") == 0) {
+ printf " * %s = +%s%%(v['${variant}']):'${variant}'\n", $1, $2;
+ } else {
+ printf " * %s = +%s:'${variant}'\n", $1, $2;
+ }
+}' < $INDIR/layoutsMapping.lst >> $OUTFILE
+
+awk '{
+ printf " * %s(%s) = +%s(%s):'${variant}'\n", $1, $2, $3, $4;
+}' < $INDIR/variantsMapping.lst >> $OUTFILE