chiark / gitweb /
extras/keymap/findkeyboards: beautify shell code and get rid of grep
authorHarald Hoyer <harald@redhat.com>
Mon, 7 Nov 2011 13:54:47 +0000 (14:54 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Mon, 7 Nov 2011 16:54:04 +0000 (17:54 +0100)
commit7b9cebf082719251f628832dadeb8178d7b904ba
tree77475e74d2a07133ee92a9577014152a14017dd0
parent5101923ff965cf35af7897e4dda378a1607f8f69
extras/keymap/findkeyboards: beautify shell code and get rid of grep

- save some extra forks and grep with shell code instead of calling
  grep
- use $() instead of backticks (improves readability and addes
  nesting capabilities)

Signed-off-by: Harald Hoyer <harald@redhat.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
extras/keymap/findkeyboards