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: Tue, 26 Aug 2025 15:43:04 -0400
User-agent: Mozilla Thunderbird

On 8/26/25 3:10 PM, Connor Wilkins wrote:
Hello,

This patch adds two missing entries into the Parameter Expansion's subsection
on Case Modification of the Bash man page.

Problem:
   The "Parameter Expansion" section of doc/bash.1 currently does not
   document the behavior of the `${parameter~pattern}` or
   `${parameter~~pattern}` operators.

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.

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