title: Escape characters, literal quotations, and variables in KornShell (ksh) script command
body: <p>Brand new to KornShell (ksh). I have an absolutely painful and hopefully simple problem.</p>
  
  <p>I need to run a script with a string argument that includes single quotations mark and a variable. In the shell, it looks like this:</p>
  
  <pre><code>run_script -x '*082512*'
  </code></pre>
  
  <p>And that works fine.  </p>
  
  <p>But once I try to run it in a script with a variable for the date, I can not produce those single quotes. I have made the "today's date" variable without problem:</p>
  
  <pre><code>today=$(date "+%m%d%y")
  </code></pre>
  
  <p>But the problem occurs when I try to run the script. I have tried every possible combination of quotes within quotes and escaping the single quotes etc. etc. to no avail.</p>
  
  <p>Any insight regarding this issue would be appreciated.</p>