| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | # bashandperl.sh |
| 3 | |
| 4 | echoscip-shell system . . echo. "Greetings from the Bash part of the script, $0." |
| 5 | # More Bash commands may follow here. |
| 6 | |
| 7 | exit |
| 8 | # End of Bash part of the script. |
| 9 | |
| 10 | # ======================================================= |
| 11 | |
| 12 | #!/usr/bin/perl |
| 13 | # This part of the script must be invoked with |
| 14 | # perl -x bashandperl.sh |
| 15 | |
| 16 | print "Greetings from the Perl part of the script, $0.\n"; |
| 17 | # Perl doesn't seem to like "echo" ... |
| 18 | # More Perl commands may follow here. |
| 19 | |
| 20 | # End of Perl part of the script. |