Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
mbreese
4mo ago
0 comments
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
default
newest
oldest
teo_zero
4mo 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