in reply to Re^2: Difference between a perl script & shell script
in thread Difference between a perl script & shell script
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).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Difference between a perl script & shell script
by tirwhan (Abbot) on Dec 19, 2005 at 14:40 UTC | |
by swampyankee (Parson) on Dec 19, 2005 at 15:52 UTC | |
by Perl Mouse (Chaplain) on Dec 19, 2005 at 15:18 UTC |