title: Assigning a bash variable to be a list of two word strings
body: <p>I want to assign a bash variable to be a collection of two word segments. The bash variable is similar to a list of strings, where each string is two separate words enclosed within quotation marks). I am then trying to use this variable within a for loop so that the loop variable is assigned to one of the two word segments each iteration.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>#!/bin/bash
  variable='"var one" "var two" "var three"'
  for i in $variable
  do
     echo $i
  done
  </code></pre>
  
  <p>The output I would like is :</p>
  
  <pre><code>var one
  var two
  var three
  </code></pre>
  
  <p>But what I am getting at the moment in </p>
  
  <pre><code>"var
  one"
  "var
  two"
  "var
  three"
  </code></pre>