aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/xkbdata.src/symbols/extractGroupNames.sh
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/xkbdata.src/symbols/extractGroupNames.sh')
-rw-r--r--xorg-server/xkbdata.src/symbols/extractGroupNames.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/xorg-server/xkbdata.src/symbols/extractGroupNames.sh b/xorg-server/xkbdata.src/symbols/extractGroupNames.sh
new file mode 100644
index 000000000..fb128fd19
--- /dev/null
+++ b/xorg-server/xkbdata.src/symbols/extractGroupNames.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+grep 'name\[Group1\]' * | sed 's/[[:space:]]*name\[Group1\].*=[[:space:]]*//;s/;[[:space:]]*$//' | sort