read csv files to vars

This commit is contained in:
olli 2024-06-18 18:03:14 +02:00
parent ad0ea9040b
commit 8de696a9ce

View File

@ -40,7 +40,7 @@ function g_read_csv {
# prepare varnames from headline(s)
for g_headline_item in "${g_csv_headline_array_ref[@]}"
do
g_csv_headline_array+="${g_headline_item//[^a-zA-Z0-9]/}"
g_csv_headline_array+=("${g_headline_item//[^a-zA-Z0-9]/}")
done
# read last lines if defined or complete csv file