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: Tue, 26 Aug 2025 18:40:54 -0400

On Tue, Aug 26, 2025 at 3:44 PM Chet Ramey <chet.ramey@case.edu> wrote:
>
> The case toggling word expansions are rather famously undocumented. I don't
> like the syntax and I don't encourage its use. Those operators are still
> there to support scripts that use them.

I wondered why ${parameter@U}, ${parameter@u}, and ${parameter@L} were
introduced. Do you not like the syntax of ${parameter^^},
${parameter^}. and ${paramter,,}, either? 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.



reply via email to

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