For some reason, the user shell on the SunOS (not in general, just on that particular machine) was mandated to be tcsh, and on the SGI it was bash. Or maybe it was the other way around.I don't get this. Just because a users shell is tcsh doesn't mean that every shell program needs to be in tcsh - if the top line says #!/usr/bin/sh, it will be run in sh, regardless of the users shell.
The only exception being shells that need to be "sourced" - but you can't write those in Perl anyway (unless your shell is Perl).
In reply to Re^3: Difference between a perl script & shell script
by Perl Mouse
in thread Difference between a perl script & shell script
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |