File: pkeys

package info (click to toggle)
wmii2 2.5.2-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 592 kB
  • ctags: 927
  • sloc: ansic: 9,195; makefile: 228; sh: 136
file content (6 lines) | stat: -rwxr-xr-x 164 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
#!/usr/local/9/bin/rc

mdir=/keys/mode/
for (mode in `{wmiir read $mdir})
	for (key in `{wmiir read $mdir$mode})
		echo $mode$key '->' `{wmiir read $mdir$mode$key}