Article 5H167 Is it safe and sensible to link sh to dash?

Is it safe and sensible to link sh to dash?

by
M0M0
from LinuxQuestions.org on (#5H167)
In theory, dash should be faster than bash. So I was wondering if you should link sh to dash (instead of bash). Can this cause problems with existing scripts under Slackware?

I also noticed that /bin/sh is a link to bash, but bash is started in a certain mode: The prompt is sh-5.1 instead of bash-5.1. So is this already a script-optimized version of bash? If so, does it even make sense to link sh to dash or is this optimized version of bash just as fast?latest?d=yIl2AUoC8zA latest?i=E9JOPfMnu-0:fR3-lNAFwXc:F7zBnMy latest?i=E9JOPfMnu-0:fR3-lNAFwXc:V_sGLiP latest?d=qj6IDK7rITs latest?i=E9JOPfMnu-0:fR3-lNAFwXc:gIN9vFwE9JOPfMnu-0
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments