How to loop through a CSV with multiple lines to grab 2 variables?
Assuming you have some pretty good passwords:
user1,",3 ""e`$^~´"
user2,""")& Eu`id`"
user3,ThisIsAlsoAGoodPasswordBecauseItIsLong
Then you need something that can parse CSV ("" inside " is a ").
cat user+password.csv | parallel --csv do_stuff {1} {2}
I don't see any need for awk here:
#!/bin/bash
while IFS=, read -r user pass; do
# something with "$user" "$pass"
done < path/to/file.csv