xenocara/dist/xkeyboard-config/rules/bin/ml_s.sh

15 lines
258 B
Bash
Raw Normal View History

2009-06-06 11:52:23 -06:00
#!/bin/sh
INDIR=$1
2009-06-06 11:52:23 -06:00
OUTFILE=base.ml_s.part
> $OUTFILE
awk '{
printf " * %s = pc+%s\n", $1, $2;
}' < $INDIR/layoutsMapping.lst >> $OUTFILE
2009-06-06 11:52:23 -06:00
awk '{
printf " * %s(%s) = pc+%s(%s)\n", $1, $2, $3, $4;
}' < $INDIR/variantsMapping.lst >> $OUTFILE