var-name-fix

This commit is contained in:
olli 2024-07-17 12:00:04 +02:00
parent 5c930248eb
commit 4292b8e4dc

View File

@ -45,7 +45,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