[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Consolidate recommended options?
From: |
Daniel Colascione |
Subject: |
Consolidate recommended options? |
Date: |
Sun, 29 Dec 2024 15:44:08 -0500 |
User-agent: |
mu4e 1.12.8; emacs 31.0.50 |
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 to enable all these settings individually, but enabling
them by default would break existing scripts. How about something like
"shopt -s bash2025" that would succinctly set these options all at once
so that script writers can more easily opt into modern behavior?
- Consolidate recommended options?,
Daniel Colascione <=
Re: Consolidate recommended options?, Dale R. Worley, 2024/12/30
Re: Consolidate recommended options?, Chet Ramey, 2024/12/31