A summary of the commands used for embedding various other programming languages is as follows:
Programming language |
Command for embedding script or code |
ash |
ash -c "" |
ruby |
ruby -e "" |
jruby |
jruby -e "" |
rubyjs |
rubyjs -e "" |
python |
python -c "" |
python3 |
python3 -c "" |
jython |
jython -c "" |
cython |
cython -c "" |
perl |
perl -e "" |
csh |
csh -c "" |
tcsh |
tcsh -c "" |
mksh |
mksh -c "" |
ksh |
ksh -c "" |
zsh |
zsh -c "" |
dash |
dash -c "" |
coffee |
coffee -e "" |
lua |
lua -e "" |
scilab |
scilab -e "" |