dash compatibility to bash

Wikipedia says that dash implements faster than bash. My inquiry is, if I set /bin/sh to dash, will all manuscripts that make use of /bin/sh in their ball of wax line that was planned for bash job under dash?

0
2019-05-04 23:38:03
Source Share
Answers: 2

No, not all manuscripts planned for bash collaborate with dash. A variety of 'bashism' will certainly not operate in dash, such as C-style for loopholes and also the double-bracket contrast drivers. If you have a set of bash manuscripts that you intend to make use of for dash, you might take into consideration making use of checkbashisms. This device will certainly examine your manuscript for bash-only attributes that aren't most likely to operate in dash.

0
2019-05-08 04:28:56
Source

Not also sh manuscripts work with dash. Pkgsrc's bootstrap, par instance.

0
2019-05-08 04:20:40
Source