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