I need to parse a csv file and store the value in a variable. Below is the sample csv file
And below is the ./script.sh
#!/bin/bash D=""; P=""; ./xyz --project "$P" --displayname "$D"
For example if we consider the first line:
When i run the script like
it should store the values:
10V nmos and pmos for MA into
How can this be done ?
Another scenario is, from the csv file if i call first three projects then it should run in a loop row by row