|
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.
|