Signed-off-by: malathi <malathiramya@gmail.com>
[xorg/xkeyboard-config] / rules / bin / ml1_s.sh
1 #!/bin/sh
2
3 INDIR=$1
4 OUTFILE=base.ml1_s.part
5
6 > $OUTFILE
7
8 awk '{ 
9   if (index($2, "(") == 0) {
10     printf "  *         %s                      =       pc+%s%%(v[1])\n", $1, $2; 
11   } else {
12     printf "  *         %s                      =       pc+%s\n", $1, $2; 
13   }
14 }' < $INDIR/layoutsMapping.lst >> $OUTFILE
15
16 awk '{ 
17   printf "  *           %s(%s)                  =       pc+%s(%s)\n", $1, $2, $3, $4; 
18 }' < $INDIR/variantsMapping.lst >> $OUTFILE