Re: "~~" and "~" case-toggling modification undocumented

2022-04-05 Thread Andreas Kusalananda Kähäri
On Tue, Apr 05, 2022 at 10:58:33AM -0400, Chet Ramey wrote: > On 4/5/22 10:49 AM, Andreas Kusalananda Kähäri wrote: > > When the ",", ",,", "^", and "^^" case-modifying operators were > > introduced with Bash 4.0 some 13 years ago, the operators "~" and "~~" > > were also introduced. These toggle

Re: "~~" and "~" case-toggling modification undocumented

2022-04-05 Thread Chet Ramey
On 4/5/22 10:49 AM, Andreas Kusalananda Kähäri wrote: > When the ",", ",,", "^", and "^^" case-modifying operators were > introduced with Bash 4.0 some 13 years ago, the operators "~" and "~~" > were also introduced. These toggle the case of the first character that > match the pattern ("~") or th

"~~" and "~" case-toggling modification undocumented

2022-04-05 Thread Andreas Kusalananda Kähäri
When the ",", ",,", "^", and "^^" case-modifying operators were introduced with Bash 4.0 some 13 years ago, the operators "~" and "~~" were also introduced. These toggle the case of the first character that match the pattern ("~") or the all characters that match the pattern ("~~") in a similar ma