more pure bash to speed up things
This commit is contained in:
1 parent
f119372daa
commit
2476e2ee72
1 file changed
+2
@@ -17,6 +17,8 @@ function get_vars_from_csv {
|
|||||||
if [ -z "${f_last_lines_array}" ]
|
if [ -z "${f_last_lines_array}" ]
|
||||||
then
|
then
|
||||||
mapfile -t f_last_lines_array <<< $(tail -n4 "${f_ASSET_HIST_FILE}")
|
mapfile -t f_last_lines_array <<< $(tail -n4 "${f_ASSET_HIST_FILE}")
|
||||||
|
else
|
||||||
|
echo "USING ARRAY"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# if there are not four lines
|
# if there are not four lines
|
||||||
|
|||||||
Reference in new issue
Block a user