Very happy with Etch

If it doesn't relate to Debian, but you still want to share it, please do it here

Postby plugwash » 2007-04-12 22:55

bash is fine as an interactive shell but its a bit heavyweight for shell scripts.

dash is a minimal bourne like shell more suited to simple shell scripts and considerablly faster for such uses.

The problem is if you don't make the /bin/sh link point at it then hardly anyone will use it but if you do make the /bin/sh link point at it (like ubunutu did) you will get lots of breakage of software that assumed /bin/sh will always mean bash.
plugwash
 
Posts: 2508
Joined: 2006-09-17 01:10

Postby AgenT » 2007-04-13 00:27

plugwash wrote:bash is fine as an interactive shell but its a bit heavyweight for shell scripts.

dash is a minimal bourne like shell more suited to simple shell scripts and considerablly faster for such uses.

The problem is if you don't make the /bin/sh link point at it then hardly anyone will use it but if you do make the /bin/sh link point at it (like ubunutu did) you will get lots of breakage of software that assumed /bin/sh will always mean bash.
Thank you for explaining that. I think that I will stick to bash and my advanced bash scripting ability.
User avatar
AgenT
 
Posts: 500
Joined: 2007-01-21 01:25

Previous

Return to Offtopic

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable