From: Steven Baltakatei Sandoval Date: Fri, 10 Jul 2020 05:45:29 +0000 (+0000) Subject: Merge branch 'feature/freqWrite/BK-2020-03' into develop X-Git-Tag: 0.3.0~20 X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/f34f63b7d654d669aa300e4de09aeaf678c7699b?hp=d29fa44f0de3e015fe3c83b5e48164c344f1fc60 Merge branch 'feature/freqWrite/BK-2020-03' into develop --- diff --git a/unitproc/bkFreqWrite b/unitproc/bkFreqWrite index f1c13aa..e608ba4 100644 --- a/unitproc/bkFreqWrite +++ b/unitproc/bkFreqWrite @@ -18,7 +18,7 @@ while [[ $SECONDS -lt "scriptTTL" ]]; do bufferTOD="$((SECONDS + $bufferTTL))"; lineCount=0; # Consume stdin to fill buffer until buffer time-of-death (TOD) arrives - while read -r line && [[ $SECONDS -lt "$bufferTOD" ]]; do + while read -r -t "$bufferTTL" line && [[ $SECONDS -lt "$bufferTOD" ]]; do # Append line to buffer array buffer+=("$line"); echo "DEBUG:Processing line:$lineCount";