On Sun, Sep 07, 2025 at 08:55:38AM -0400, Greg Wooledge wrote:
> ^^ and ,, are documented. In fact, it's *really* easy to find it,
> because you just have to search for ,, and there are no false positives
> in the way.
>
> ${parameter^pattern}
> ${parameter^^pattern}
> ${parameter,pattern}
> ${parameter,,pattern}
> Case modification. This expansion modifies the case of
> alpha‐
> betic characters in parameter. [...]
>
> The undocumented syntax is ~ ~~ which does case flipping like vi's ~
> command. That's what this thread has been talking about.
Right you are. I got mixed up as a I was reading through the messages.
That I have never seen or used before today.
Eric