more pure bash to speed up things
This commit is contained in:
parent
bbfce532f2
commit
5028f317fd
@ -23,7 +23,11 @@ function get_vars_from_csv {
|
|||||||
set -x
|
set -x
|
||||||
|
|
||||||
# if there are not four lines
|
# if there are not four lines
|
||||||
[ -z "${f_last_lines_array[3]}" ] && return 1
|
if [ -z "${f_last_lines_array[3]}" ]
|
||||||
|
then
|
||||||
|
set +x
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
# create array of last line fields
|
# create array of last line fields
|
||||||
#f_last_line="$(tail -n1 "${f_ASSET_HIST_FILE}"),${f_market_performance}"
|
#f_last_line="$(tail -n1 "${f_ASSET_HIST_FILE}"),${f_market_performance}"
|
||||||
|
Loading…
Reference in New Issue
Block a user