2 ms·
Why did you use bash and not sh for the interpreter?
by tedunangst 8y ago
Why did you use bash and not sh for the interpreter?
- gizmo686 8y agoTo keep the comparison fair. My interactive shell is bash (which I assume is a more popular choice for interactive shell then sh), and the version without any shebang will use whatever the parent shell is. To make the comparison fair, I wanted the version with the shebang to be using the same shell. Besides, /bin/sh would also require dereferencing a symlink (to /bin/dash), which also doesn't seem fair.