projects
/
BK-2020-03.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat(unitproc/bk_export_audio.sh):Process files via find
[BK-2020-03.git]
/
unitproc
/
bkFreqWrite
diff --git
a/unitproc/bkFreqWrite
b/unitproc/bkFreqWrite
index f1c13aaece05588d6cbf5f636888c0a6d0aecc40..e608ba44b3d5a01e94d68eb0acff43942ef145ec 100644
(file)
--- 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
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";
# Append line to buffer array
buffer+=("$line");
echo "DEBUG:Processing line:$lineCount";