X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02.git/blobdiff_plain/347113842719841baa1de6ea1f46133f7193331c..5d311809aac180b453b55ae3cdd2b872fb5b985e:/exec/bklog diff --git a/exec/bklog b/exec/bklog index 173ece0..af53431 100644 --- a/exec/bklog +++ b/exec/bklog @@ -1235,15 +1235,10 @@ main() { bufferRound=0; while [[ $SECONDS -lt "scriptTTL" ]]; do bufferTOD="$((SECONDS + bufferTTL))"; # Set buffer round time-of-death - lineCount=0; # Debug counter # Consume stdin to fill buffer until buffer time-of-death (TOD) arrives 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[@]}"; - ((lineCount++)); done; # Create dir_tmp if missing if ! [[ -d "$dir_tmp" ]]; then yell "ERROR:dir_tmp existence failure:$dir_tmp"; try mkdir "$dir_tmp" && vbm "DEBUG:Working dir recreated dir_tmp:$dir_tmp"; fi