Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The only advantage I can see is that dash is a bit faster than bash or zsh, but it's not that much of a difference in real scripts.

It also consumes quite a bit less memory, which can be relevant for shell wrappers or other long running scripts. That's the primary reason I started writing my scripts for dash rather than bash. The other advantages (portability, lack of cognitive overload caused by bash's infinitely long list of features and quirks) were an unforeseen bonus.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: