The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 01-12-2009
System Shock's Avatar
System Shock System Shock is offline Forum Advisor  
Registered User
  
 

Join Date: May 2006
Location: Tau Ceti V
Posts: 521
The question here is , WHY you want to change the shell the script runs on? Maybe you mean "user" rather than "shell"?

Different shells have enough different syntax that could rend a script useless if run that script on a different shell it was written on. For example, a perfectly working ksh array will yield you errors on sh, csh, bash.