3 ms·
IIRC interpreters can also read their programs from stdin. Try piping a script to bash and see if it works. (Actually, this is how the `curl install.sh | bash`
by mbreese 11mo ago
IIRC interpreters can also read their programs from stdin. Try piping a script to bash and see if it works.
(Actually, this is how the `curl install.sh | bash` anti pattern works. )
- deleted 11mo ago[deleted]
- teo_zero 11mo agoIndependently of what the interpreter can do, it's #! that doesn't pass the file to it.