title: Xargs with command that has multiple parameters
body: <p>I was advised to used these commands to get list of shutdown instances in Openstack and send them to start command as parameters:</p>
  
  <pre><code>nova list | grep SHUTOFF | cut '-d|' -f3 | xargs nova start
  </code></pre>
  
  <p>But it leads to error:</p>
  
  <pre><code>error: unrecognized arguments: shutdowninstance-2
  </code></pre>
  
  <p>If I use other commands with Xargs the the list is correct:</p>
  
  <pre><code>nova list | grep SHUTOFF | cut '-d|' -f3 | xargs echo
  shutdowninstance-1 shutdowninstances-2
  </code></pre>
  
  <p>So first commands must be OK and the problem should be in the last part of command.
  I guess that the reason it because the last command has parameter <code>start</code> next to it.
  Syntax expected by Nova is <code>nova start nameofinstance</code>.</p>
  
  <p>I studied many other questions about using Xargs here but could not find solution to this.</p>
  
  <p>How should the command be changed to make it work?</p>
  
  <p>EDIT: Using <code>xargs -t</code> gives this output:</p>
  
  <pre><code>nova start shutdowninstance-1 shutdowninstances-2
  </code></pre>
  
  <p>So the problem is probably that <code>nova start</code> accepts only one instance name at the time.</p>
  
  <p>Can command given to me be adjusted to give only one parameter at the time?</p>