title: Echo but retain all quotes
body: <p>Is it possible to echo a text and keep all quotes and double quotes in place?
  I want to write a function to copy the text currently written in the terminal (completely with quotes). </p>
  
  <p>Since I am on OSX I have to use pbcopy:</p>
  
  <p><code>pb(){echo "$@" | pbcopy}</code></p>
  
  <p>But <code>pb osascript -e 'tell Application "iTerm" to display dialog "Job finished"'</code> does return </p>
  
  <p><code>osascript -e tell Application "iTerm" to display dialog "Job finished"</code> but not </p>
  
  <p><code>osascript -e tell 'Application "iTerm" to display dialog "Job finished"'</code>.</p>