projects
/
EVA-2020-02.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix(bklog):Convert debug echos into vbm()
[EVA-2020-02.git]
/
exec
/
bklog
diff --git
a/exec/bklog
b/exec/bklog
index 173ece07d3078cad995ca24e49f2bc423732c252..6fc61e4325430d2fdbf7f2880cf7e7317187fede 100644
(file)
--- a/
exec/bklog
+++ b/
exec/bklog
@@
-1240,9
+1240,9
@@
main() {
while read -r -t "$bufferTTL" line && [[ $SECONDS -lt "$bufferTOD" ]]; do
# Append line to buffer array
buffer+=("$line");
while read -r -t "$bufferTTL" line && [[ $SECONDS -lt "$bufferTOD" ]]; do
# Append line to buffer array
buffer+=("$line");
-
echo
"DEBUG:Processing line:$lineCount";
-
echo
"DEBUG:Current line :$line";
-
echo
"DEBUG:buf elem count :${#buffer[@]}";
+
vbm
"DEBUG:Processing line:$lineCount";
+
vbm
"DEBUG:Current line :$line";
+
vbm
"DEBUG:buf elem count :${#buffer[@]}";
((lineCount++));
done;
# Create dir_tmp if missing
((lineCount++));
done;
# Create dir_tmp if missing