home
/
code
/
khatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdbd608
)
Fix bluetoothctl parser
author
Siraaj Khandkar
<siraaj@khandkar.net>
Fri, 3 Aug 2018 16:54:37 +0000
(12:54 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Fri, 3 Aug 2018 16:54:37 +0000
(12:54 -0400)
bin/khatus_parse_bluetoothctl_show
patch
|
blob
|
blame
|
history
diff --git
a/bin/khatus_parse_bluetoothctl_show
b/bin/khatus_parse_bluetoothctl_show
index
7de42cf
..
ed1e228
100755
(executable)
--- a/
bin/khatus_parse_bluetoothctl_show
+++ b/
bin/khatus_parse_bluetoothctl_show
@@
-8,7
+8,7
@@
/^\t[A-Z][A-Za-z]+:/ {
key = $1
sub(":$", "", key)
- sub("^
" $1
, "")
+ sub("^
\t" $1 " *"
, "")
val = $0
data[controller, key] = val
}
This page took
0.030234 seconds
and
4
git commands to generate.