Y
Hacker News
new
|
ask
|
show
|
jobs
by
mbreese
213 days 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. )
1 comments
teo_zero
213 days ago
Independently of what the interpreter can do, it's #! that doesn't pass the file to it.
link