sync code with last improvements from OpenBSD
This commit is contained in:
commit
88965415ff
26235 changed files with 29195616 additions and 0 deletions
20
dist/xkeyboard-config/rules/bin/mln_s.sh
vendored
Executable file
20
dist/xkeyboard-config/rules/bin/mln_s.sh
vendored
Executable file
|
@ -0,0 +1,20 @@
|
|||
#!/bin/sh
|
||||
|
||||
variant=$1
|
||||
|
||||
INDIR=$2
|
||||
OUTFILE=base.ml${variant}_s.part
|
||||
|
||||
> $OUTFILE
|
||||
|
||||
awk '{
|
||||
if (index($2, "(") == 0) {
|
||||
printf " * %s = +%s%%(v['${variant}']):'${variant}'\n", $1, $2;
|
||||
} else {
|
||||
printf " * %s = +%s:'${variant}'\n", $1, $2;
|
||||
}
|
||||
}' < $INDIR/layoutsMapping.lst >> $OUTFILE
|
||||
|
||||
awk '{
|
||||
printf " * %s(%s) = +%s(%s):'${variant}'\n", $1, $2, $3, $4;
|
||||
}' < $INDIR/variantsMapping.lst >> $OUTFILE
|
Loading…
Add table
Add a link
Reference in a new issue