title: callback script with space in bash
body: <p>I wrote a little script that check something, and i want a command to be executed from within the script if the test was successfull. And i don't want to hardcode the command, but give it as argument to it like a callback script.</p>
  
  <p>The command I testing with is <code>/usr/bin/xmessage -buttons "button a","button b" some text to test</code>. Running it within a terminal standalone works fine, no quotation marks needed for the last text.</p>
  
  <p>The script looks like this:</p>
  
  <pre><code>#!/bin/bash
  echo "$1"
  $1
  </code></pre>
  
  <p>But when running <code>/path/to/script.bash '/usr/bin/xmessage -buttons "button a","button b" some text to test'</code> it looks like <a href="http://www.abload.de/img/bildschirmfoto-20.02.bmjm6.png" rel="nofollow">this</a>, though the echo looks right.</p>
  
  <p>When using <code>"$1"</code> instead of <code>$1</code> it complains it couldn't find the file. Anyone got ideas how to fix the behavior with the space?</p>