3 ms·
while IFS=',' read -r field1 field2 field3 _; do # do stuff done This is the reason we need something better than bash than stick with it until it's be
by h1d 8y ago
while IFS=',' read -r field1 field2 field3 _; do
# do stuff
done
This is the reason we need something better than bash than stick with it until it's been used for 50 years. It's just too cryptic.
Fish is better but still looks legacy.