summaryrefslogtreecommitdiff
path: root/dist/xkeyboard-config/rules/bin/mlnvn_s.sh
blob: 1a5f40f25503cfb7d2dec39ff9fdc146f0572dd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

variant=$1

INDIR=$2
OUTFILE=base.ml${variant}v${variant}_s.part

> $OUTFILE

awk '{
  printf "  *		%s		%s	=	+%s(%s):'${variant}'\n", $1, $2, $3, $4;
}' < $INDIR/variantsMapping.lst >> $OUTFILE