more pure bash to speed up things
This commit is contained in:
parent
f119372daa
commit
2476e2ee72
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user