Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
mbreese
7mo ago
0 comments
Save
Share
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. )
0 comments
1 comments · 1 top-level
top
newest
oldest
teo_zero
7mo ago
Independently of what the interpreter can do, it's #! that doesn't pass the file to it.
j
/
k
navigate · click thread line to collapse