more pure bash to speed up things
This commit is contained in:
@@ -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