bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Consolidate recommended options?


From: Chet Ramey
Subject: Re: Consolidate recommended options?
Date: Tue, 31 Dec 2024 12:17:21 -0500
User-agent: Mozilla Thunderbird

On 12/29/24 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, extglob, assoc_expand_once, and various other settings.

The only one of these I would like to have enabled by default is
assoc_expand_once, but that would break all the elaborate workarounds
people have devised.

The rest are all individual preferences.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]