Shell Script to read csv file into Array

This is a shell script to read a csv file into array and display the contents. Using an array is preferred we can keep track of no. elements in a row.For example:echo ${row[@]} will display all the elements of array.echo ${#row[@]} will display the no. of elements in the array.Also to get the 2nd elementContinue reading “Shell Script to read csv file into Array”

Create your own website, free on WordPress.com.Create your own website.
Start free