title: In Unix ksh, can I pass variables from one script to another ksh script as parameters in that script call, without making them global with export?
body: <p>Right now I have:</p>
  
  <p>Script A:</p>
  
  <pre><code>export var1="path"
  export var2="test"
  export var3="message"
  
  /path/to/scriptB "$var1" "$var2" "$var3"
  </code></pre>
  
  <p>This works, and I can access the variable values in the Script B, but I dont want other scripts that call Script B to influence those global variable values. Is there a way to pass the value through the script call without exporting the variables to a global scope first? </p>
  
  <p>Thanks for the help.</p>