On 2018-06-11 積丹尼 Dan Jacobson wrote:
> Why use bash at all if e.g.,
> $ checkbashisms /usr/sbin/update-exim4.conf.template
> could not find any possible bashisms in bash script
> /usr/sbin/update-exim4.conf.template
> means one can just use #!/bin/sh ?
Hello,
Exim, does use #!/bin/sh. However bash can provide /bin/sh (Run
"dpkg-reconfigure dash" to enable or disable), and bash5 is afaict
buggy, it is not /bin/sh-compliant. This specific bug severly breaks
scripting. It is not limited to exim, e.g. any debconf using package
has a good chance of breaking.
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'