title: bash array using @ vs *, difference between the two
body: <p>I cannot pinpoint the exact difference between using ${array[@]} vs ${array[*]}</p>
  
  <p>What diff I see is when printing, but I guess there is more to it</p>
  
  <pre><code>declare -a array
  array=("1" "2" "3")
  IFS=","
  printf "%s" ${array[@]}
  printf "%s" ${array[*]}
  IFS=" "
  </code></pre>
  
  <p>I searched on TLDP about it, but couldn't figure it out.
  Is it a general bash thing or just for arrays?
  Thanks a lot!</p>