Mailinglist Archive: opensuse-factory (602 mails)

< Previous Next >
Re: [opensuse-factory] Can we assume that /bin/sh is bash?
On Mon, Feb 11, 2019 at 10:21:47AM +0100, Martin Wilck wrote:

Speaking about shell script performance, IMO the only set of scripts
for which this matters in practice is dracut, which would benefit a
LOT from 30% speedup. Unfortunately it was written as a "#! /bin/bash"
script in the first place.

Indeed, nevertheless as dracut uses bashism it should enforce to use
/bin/bash, otherwise arrays, types, [[..]], ((..)), ... had been
rewritten and maybe other external tools must be added as replacements.

Werner

--
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
< Previous Next >