[Top][All Lists]

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

Re: Shopt to change default connector to '&&'

From: Hugues Morisset
Subject: Re: Shopt to change default connector to '&&'
Date: Wed, 29 Mar 2023 14:35:33 +0200

I made some changes on this proposition, after a lot of considerations I
find it is not trivial to make this work for commands in top level and so I
renamed the shop to "func_default_connector_and_and".

This new patch correctly applies on top of devel and uses the correct
configuration file, it also add tests.

Happy to known what you think,

On Mon, Mar 13, 2023 at 5:03 PM Hugues Morisset <>

> > Okay, I didn't notice a difference at first because I tested with
> > top-level commands, which don't seem to be affected at all.  This
> > is supposed to be less quirky than "set -e"?
> > Indeed.  Remember, the patch only affects the defintion of compound_list
> > in the parser.  I don't think that's what the OP intended.
> That's true, it is a bug, I'm not sure how to also affect definition of
> top-level commands when the shopt is set

Attachment: 0001-Shopt-func-default-connector-and-and.patch
Description: Text Data

reply via email to

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