title: Read CSV file in a Shell Script till End Of Line Without Header
body: <p>I have a file called as 'readfile.csv' with following contents.</p>
  
  <pre><code>Name    Id        VAl       Number    IP
  James,007,$500,111-111-111,111-000-000
  Bond,700,$900,100-000-999, 666-999-000
  </code></pre>
  
  <p>Here <code>Name, Id, Val, Number and IP</code> are heading in the csv file and the second line i.e., <code>FirstVal, SecondVal</code> etc are the values of those headers. I want to read only the values and not headers and display it in console. How do I do it? And also I want to read values till end of line/end of file as I don't know how many columns can be present in the file. It can be 5 or 6 columns.</p>
  
  <p>Right now I am able to read a single line without header as below in shell script. But this does not help my condition mentioned here.</p>
  
  <pre><code>#!/bin/bash
  
  val1=( $(cut -d ',' -f1 readfile.csv ) )
  printf "%s\n" "${val1[0]}"
  val2=( $(cut -d ',' -f2 readfile.csv ) )
  printf "%s\n" "${val2[0]}"
  val3=( $(cut -d ',' -f3 readfile.csv ) )
  printf "%s\n" "${val3[0]}"
  </code></pre>
  
  <p>I actually want to append these values to other script. For example, I have a script called as runfile.sh which appends the values from the awk and opens a file location through http.</p>
  
  <p>Example, 'runfile.sh' is storing this value:</p>
  
  <pre><code>'https://my_win_loc/personinfo'
  </code></pre>
  
  <p>Now runfile will read the csv file and append each value to this url, like this:</p>
  
  <pre><code>'https://my_win_loc/personinfo/James'
  'https://my_win_loc/personinfo/Bond'
  </code></pre>
  
  <p>Please help me in resolving this. Thanks in advance.</p>