bug-bash
[Top][All Lists]
Advanced

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

Re: [PATCH] doc: missing parameter expansion operators in bash(1)


From: Zachary Santer
Subject: Re: [PATCH] doc: missing parameter expansion operators in bash(1)
Date: Wed, 27 Aug 2025 11:02:45 -0400

On Wed, Aug 27, 2025 at 10:36 AM Chet Ramey <chet.ramey@case.edu> wrote:
>
> I'm leaving it undocumented to discourage its use, yes. One thing I've
> discovered is that you can never remove a feature (e.g. $[expr]).

$[expr] at least has the documented equivalent $((expr)). If you're
committed to leaving ${parameter~~} in place, why discourage its use?

> Is it useful enough to add a parameter transformation for it? What should
> bash use for the operator?

To me, ${parameter@[UuL]} are redundant. I don't have a strong opinion on this.



reply via email to

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