aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/rules/compat/ml1_s.sh
blob: dedccdb45a48431704bf2dda8c8b8420c33e13fc (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;}}" layoutRename.lst >> %OUTFILE%

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