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: Connor Wilkins
Subject: Re: [PATCH] doc: missing parameter expansion operators in bash(1)
Date: Wed, 27 Aug 2025 19:36:08 +0000

Zachary Santer wrote:
> On Wed, Aug 27, 2025 at 1:40 PM Chet Ramey <chet.ramey@case.edu> wrote:
>>
>> This has never been documented.
>>
>> In theory, since it's never been documented, I could flip the define in
>> config-top.h and disable it by default. I thought about doing that for
>> bash-5.2, but did not.

> It's never been documented, and you discourage its use, just because
> you don't like the syntax that you created? If ${parameter^^} means
> upper case, and ${parameter,,} means lower case, ${parameter~~} fits
> the theme. What's not to like? Would you rather use ~ in a parameter
> expansion to mean something else in the future?

This is my thinking as well. 

It's also intuitive for vi users, as it's the same key to perform the same 
function. I see no issue with this feature.

reply via email to

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