title: How to do a circular shift of strings in bash?
body: <p>I have a homework assignment where I need to take input from a file and continuously remove the first word in a line and append it to the end of the line until all combinations have been done.</p>
  
  <p>I really don't know where to begin and would be thankful for any sort of direction.</p>
  
  <p>The part that has me confused is that this is suppose to be performed without the use of arrays. I'm not just fishing for someone to solve the problem for me, I'm just looking for some direction.</p>
  
  <p><strong><em>SAMPlE INPUT:</em></strong></p>
  
  <pre><code>Pipes and Filters
  Java Swing
  Software Requirements Analysis
  </code></pre>
  
  <p><strong><em>SAMPLE OUTPUT:</em></strong></p>
  
  <pre><code>Analysis Software Requirements
  Filters Pipes and
  Java Swing
  Pipes and Filters
  Requirements Analysis Software
  Software Requirements Analysis
  Swing Java
  </code></pre>