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: Chet Ramey
Subject: Re: [PATCH] doc: missing parameter expansion operators in bash(1)
Date: Wed, 27 Aug 2025 10:36:36 -0400
User-agent: Mozilla Thunderbird

On 8/27/25 10:29 AM, Zachary Santer wrote:
On Wed, Aug 27, 2025 at 10:19 AM Chet Ramey <chet.ramey@case.edu> wrote:

On 8/26/25 6:40 PM, Zachary Santer wrote:

Not that I've ever had a use
for a case-toggling word expansion, but there's no alternative that's
documented, aside from calling an external command.

You've never found a use for one, but bash should provide one because
there's no documented alternative?

Bash already provides one. You're just leaving it undocumented so
you're more free to get rid of it in the future?

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]).

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

Did it originate in
another shell?
No.

--
``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/



reply via email to

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