|
From: | Léa Gris |
Subject: | Re: [ping] declare -c still undocumented. |
Date: | Fri, 13 Nov 2020 13:55:02 +0100 |
User-agent: | Telnet/1.0 [tlh] (PDP11/DEC) |
Le 13/11/2020 à 12:47, Chris Elvidge écrivait :
But ${var^} still doesn't know that it should apply to the first alpha character in a string. Similar for , and ~. If the first character of the string is a punctuation character, e.g.(, it doesn't work (as I would like it to <g>).
Well, you are diverging from the issue here. I suggest you create a distinct post to discuss your feature request.
To Chet, The feature survived from Bash 4.0 to 5.0. Are you still uncertain about the declare -c attribute's status? Anyway, here is what I found in a conversation from 2009:Available here: <https://lists.gnu.org/archive/html/bug-bash/2009-03/msg00152.html>
Re: "declare -c" not documented From: Chet Ramey Subject: Re: "declare -c" not documented Date: Thu, 19 Mar 2009 09:37:06 -0400 User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209) Greg Wooledge wrote:The -c option for declare (new in bash 4.0) is not mentioned in either the man page or the "help declare" text.Correct. I'm not sure the capitalization feature will survive. If it makes it into the next version, I will add the documentation. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/
-- Léa Gris
[Prev in Thread] | Current Thread | [Next in Thread] |