:: Re: [DNG] Danger: Debian POSIX host…
Pàgina inicial
Delete this message
Reply to this message
Autor: Ian Zimmerman
Data:  
A: dng
Assumpte: Re: [DNG] Danger: Debian POSIX hostility
On 2020-09-22 11:21, Steve Litt wrote:

> I would never use Bash in a shellscript.


I think that's a bit too strong. Some scripting situations are a perfect
fit for the shell with the exception of one or two little features
missing in the POSIX shell but present in bash. My top examples would be
the pipefail option and process substitution ie. <(foo) and >(foo).

It's worthwhile to have a build of bash with all the interactive
features disabled (job control, history, completion etc etc). I think at
one point (maybe before dash?) there was even a debian package providing
such a build. Does memory deceive me?

--
Ian