Re: Consolidate recommended options?

2024-12-29 Thread Lawrence Velázquez
On Sun, Dec 29, 2024, at 3:44 PM, Daniel Colascione wrote: > I wonder whether it would be possible to add a simple catch-all command > that would encompass a set of options that can't be defaults but that > make writing shell scripts easier, e.g. set -euo pipefail, nullglob, > inherit_errexit, extg

Consolidate recommended options?

2024-12-29 Thread Daniel Colascione
I wonder whether it would be possible to add a simple catch-all command that would encompass a set of options that can't be defaults but that make writing shell scripts easier, e.g. set -euo pipefail, nullglob, inherit_errexit, extglob, assoc_expand_once, and various other settings. It's annoying

Re: Consolidate recommended options?

2024-12-29 Thread Daniel Colascione
On December 29, 2024 3:50:36 PM EST, "Lawrence Velázquez" wrote: >On Sun, Dec 29, 2024, at 3:44 PM, Daniel Colascione wrote: >> I wonder whether it would be possible to add a simple catch-all command >> that would encompass a set of options that can't be defaults but that >> make writing shell

Re: Consolidate recommended options?

2024-12-29 Thread Lawrence Velázquez
On Sun, Dec 29, 2024, at 3:54 PM, Daniel Colascione wrote: > Are you really indifferent as to whether array indexes should be > evaluated once or twice? Have you seen > https://yossarian.net/til/post/some-surprising-code-execution-sources-in-bash/? I'm aware of the pitfalls described therein, an