mirror of https://github.com/tLDP/LDP
14 lines
455 B
Bash
14 lines
455 B
Bash
#!/bin/bash
|
|
|
|
# Shell commands may precede the Perl script.
|
|
echo "This precedes the embedded Perl script within \"$0\"."
|
|
echo "==============================================================="
|
|
|
|
perl -e 'print "This line prints from an embedded Perl script.\n";'
|
|
# Like sed, Perl also uses the "-e" option.
|
|
|
|
echo "==============================================================="
|
|
echo "However, the script may also contain shell and system commands."
|
|
|
|
exit 0
|