title: How to source a csh script from inside a bash script
body: <p>My default shell is bash. I have set some environment variables in my .bashrc file.<br>
  I installed a program which use .cshrc file.  It contains the path to several cshell scripts.
  When I run the following commands in the shell windows it works perfectly :</p>
  
  <pre><code> exec csh
  
   source .cshrc
  
   exec bash
  </code></pre>
  
  <p>I have tried to put these commands in bash script, unfortunately it didn't work.
  is there another way to write a script in order to get the same result as running commands from a shell windows.
  I hope my question is now clear
  Many thanks for any help</p>