more pure bash to speed up things

This commit is contained in:
olli committed 2023-11-15 16:52:18 +01:00
1 parent f119372daa
commit 2476e2ee72
1 file changed
+2
+2
View File
@@ -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