title: in bash,now i have two strings,one is 'a b c' while another is '1 2 3' any good way to combine them to 'a=1 b=2 c=3' I
body: <p>in bash,now i have two strings,one is 'a b c' while another is '1 2 3'
  any good way to combine them to 'a=1 b=2 c=3'
  I tried string to array and combined them.but if i don't know the IFS?</p>
  
  <pre><code>IFS=' ' read -r -a array1 &lt;&lt;&lt; "$upvote_count"
  IFS=' ' read -r -a array0 &lt;&lt;&lt; "$qids"
  tLen=${#array[@]}
  for (( i=0; i&lt;${tLen}; i++ ));
  do
    echo "${array0[$i]}"" ""${array1[$i]}"&gt;&gt;a.txt
  done
  </code></pre>