title: Bash -- how do I extract the third number
body: <p>In bash how do I extract the fourth element out of a comma-separated list such as</p>
  
  <pre><code>"text",1244,258,8,NA,17,NA,2423
  </code></pre>
  
  <p>i.e. I want the number <code>8</code>.</p>
  
  <p>If it's easier, please recommend how I can use something like perl.</p>