Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15954

Re: ${!variable@operator} does not work for variables without values; inconsistencies between present and absent [@] for @A and @a

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: ${!variable@operator} does not work for variables without values; inconsistencies between present and absent [@] for @A and @a
Date 2020-02-23 15:59 -0500
Organization ITS, Case Western Reserve University
Message-ID <mailman.1466.1582491015.2412.bug-bash@gnu.org> (permalink)
References <CALaCa4xQYy3pT31++yU-QcXvQg-EJctg8etQX5e+c4fcw=pEhA@mail.gmail.com> <fd1e57a9-de15-a98a-5527-081c5f5ecb65@case.edu> <CALaCa4zJ_puE5d2nV6q0iBcNCtVB1Myj5cEyb_w+oa+MebfGTA@mail.gmail.com> <2f748abe-02d6-23f1-1c31-2591121b429e@case.edu>

Show all headers | View raw


On 2/20/20 7:34 PM, Arfrever Frehtes Taifersar Arahesis wrote:

>> Same answer as previously: maybe it should display the attributes
>> even thought the variable is unset.
> 
> Yes, I think that @A, [@]@A, @a and [@]@a should work for unset variables.

OK, we'll try that and see how it works.

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

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: ${!variable@operator} does not work for variables without values;  inconsistencies between present and absent [@] for @A and @a Chet Ramey <chet.ramey@case.edu> - 2020-02-23 15:59 -0500

csiph-web