home
/
code
/
khatus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Redesign component interfaces
[khatus.git]
/
bin
/
khatus_parse_bluetoothctl_show
diff --git
a/bin/khatus_parse_bluetoothctl_show
b/bin/khatus_parse_bluetoothctl_show
index
ed1e228
..
0d56853
100755
(executable)
--- a/
bin/khatus_parse_bluetoothctl_show
+++ b/
bin/khatus_parse_bluetoothctl_show
@@
-1,5
+1,10
@@
#! /usr/bin/awk -f
#! /usr/bin/awk -f
+BEGIN {
+ OFS = msg_fs ? msg_fs : "|"
+ Kfs = key_fs ? key_fs : ":"
+}
+
/^Controller / {
controller = $2
controllers[++ctrl_count] = controller
/^Controller / {
controller = $2
controllers[++ctrl_count] = controller
@@
-28,7
+33,7
@@
END {
} else {
show = "n/a"
}
} else {
show = "n/a"
}
- print(show)
+ print(
"power_status",
show)
}
function print_error(msg) {
}
function print_error(msg) {
This page took
0.02574 seconds
and
4
git commands to generate.