projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
followed through on new home var
[feisty_meow.git]
/
scripts
/
text
/
csv_to_array.sh
diff --git
a/scripts/text/csv_to_array.sh
b/scripts/text/csv_to_array.sh
index 7c114c4803a9742445253bc9effc5db62961584c..021891d0947ad6267ddca2078e24d72930fb2424 100644
(file)
--- a/
scripts/text/csv_to_array.sh
+++ b/
scripts/text/csv_to_array.sh
@@
-40,10
+40,10
@@
function parse_csv_line()
for i in $*; do
echo reading $i
for i in $*; do
echo reading $i
- while read
line
; do
-# echo
line is $line
+ while read
input_text
; do
+# echo
input_text is $input_text
csv_split=()
csv_split=()
- parse_csv_line "$
line
"
+ parse_csv_line "$
input_text
"
if [ ${#csv_split[*]} -lt 1 ]; then
echo did not see any fields in the split array.
if [ ${#csv_split[*]} -lt 1 ]; then
echo did not see any fields in the split array.