:: Re: [DNG] Danger: Debian POSIX host…
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Antony Stone
Date:  
À: dng
Sujet: Re: [DNG] Danger: Debian POSIX hostility
On Tuesday 22 September 2020 at 17:21:25, Steve Litt wrote:

> I would never use Bash in a shellscript. Therefore, do you think my
> shebang should just go straight to #!/bin/dash instead of #!/bin/sh ?
> That would certainly take the ambiguity out of it.


Yes.

If you're writing portable scripts you don't want to rely on symlinks pointing
to the same targets on everything.

If your scripts aren't (intended to be) portable, then it really doesn't
matter - do what you like in the privacy of your own machine.


Antony.

--
"Hi, I've found a fault with the English language and I need an entomologist."
"I think you mean an etymologist."
"No. It's a bug, not a feature."

                                                   Please reply to the list;
                                                         please *don't* CC me.