6 ms·
don't forget you would have to add a shebang line to make it truly executable
by aniketh 18y ago
don't forget you would have to add a shebang line to make it truly executable
- smcdow 18y agoNot really: $ echo 'echo $0' > 'Hello, world!' $ chmod +x 'Hello, world!' $ 'Hello, world!' Hello, world! $ wc 'Hello, World!' 1 2 8 Hello, world! 8 bytes. I think that's probably as small as you can get.
- smcdow 18y agoOh, brother, formatting.<p> <pre> $ echo 'echo $0' > 'Hello, world!' $ chmod +x 'Hello, world!' $ 'Hello, world!' Hello, world! $ wc 'Hello, World!' 1 2 8 Hello, world! </pre>