Hacker News new | ask | show | jobs
by caymanjim 1842 days ago
This is not true. I'm not sure what you're seeing, but neither bash nor zsh behave like this in Linux or MacOS.
1 comments

GP is correct. Bash does not read and parse whole script on start, that would be slow. It is done when needed.