ParentFull threadrootbear·Mostly efficiency. A typical shell function doesn't spawn a new shell, which running a script would. On a modern system, it's probably irrelevant.View on HN