title: creating osascript one-line scripts, on mac osx 10.10.2
body: <p>I'm new to terminal scripts and I'm trying to convert </p>
  
  <pre><code>osascript -e 'tell app "Terminal" 
  do script "ssh -t jgreen@dev-jgreen-bs pwd"
  end tell' 
  </code></pre>
  
  <p>This works with multiline as so but I want a one-line script, but I can't quite get it right. I keep getting a 2741 error, I know it is syntax I am failing with.</p>
  
  <p>I have tried  <code>/</code>, <code>,</code>, <code>\n</code>,<code>-e</code>,<code>&amp;</code>,<code>to</code> as separators.</p>