aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/rules/bin/ml1_s.sh
blob: b09459a5d66e757c93373b8d18c388b310e6f67c (plain)
1
2
3
4
5
6
7
8
9
@echo off

set OUTFILE=base.ml1_s.part

if exist %OUTFILE% del %OUTFILE%

gawk "{   if (index($2, """(""") == 0) {    printf """  *		%%s			=	pc+%%s%%%%(v[1])\n""", $1, $2;   } else {    printf """  *		%%s			=	pc+%%s\n""", $1, $2;   }}" < layoutsMapping.lst >> %OUTFILE%

gawk "{   printf """  *		%%s(%%s)			=	pc+%%s(%%s)\n""", $1, $2, $3, $4; }" < variantsMapping.lst >> %OUTFILE%