typo
This commit is contained in:
parent
bce1a3456c
commit
d323c568b5
@ -40,14 +40,14 @@ function analyze {
|
||||
IFS=$'\n'
|
||||
local f_strategy
|
||||
|
||||
lines=$(egrep "^${ANALYZE_TIME}" "$file" | grep -v ',,' | wc -l)
|
||||
if [ $lines -lt 40 ]
|
||||
then
|
||||
g_echo "Only $lines lines for given timeframe (${ANALYZE_TIME}) in $file - ignoring files with less then 40!"
|
||||
return 1
|
||||
fi
|
||||
#lines=$(egrep "^${ANALYZE_TIME}" "$file" | grep -v ',,' | wc -l)
|
||||
#if [ $lines -lt 40 ]
|
||||
#then
|
||||
# g_echo "Only $lines lines for given timeframe (${ANALYZE_TIME}) in $file - ignoring files with less then 40!"
|
||||
# return 1
|
||||
#fi
|
||||
|
||||
for line in $(egrep "^${ANALYZE_TIME}" "$file" | grep -v ',,'
|
||||
for line in $(egrep "^${ANALYZE_TIME}" "$file" | grep -v ',,')
|
||||
do
|
||||
IFS="$ORIGIFS"
|
||||
current=$(echo $line | cut -d, -f2)
|
||||
|
Loading…
Reference in New Issue
Block a user