[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
"~~" and "~" case-toggling modification undocumented
From: |
Andreas Kusalananda Kähäri |
Subject: |
"~~" and "~" case-toggling modification undocumented |
Date: |
Tue, 5 Apr 2022 16:49:41 +0200 |
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 manner as up-casing and down-casing is done with "^"
and ",".
However, as far as I can see, the case-toggling operators remain
undocumented.
I wonder if this is on purpose due to some instability or other
deficiency in the code, or whether it's an oversight (hence this bug
report).
--
Andreas (Kusalananda) Kähäri
SciLifeLab, NBIS, ICM
Uppsala University, Sweden
.
- "~~" and "~" case-toggling modification undocumented,
Andreas Kusalananda Kähäri <=