On 6/17/20 1:22 PM, Rob Landley wrote:
> Trying to figure out when spaces are and aren't allowed in ${blah} led to
> asking
> why echo ${!a* } is an error but ${!a@ } isn't (when there are no variables
> starting with a), and I eventually worked out that:
>
> $ X=PWD
> $ echo ${!X@Q}
>
On 6/16/20 3:27 PM, enh wrote:
>> Did you know that "lunch" without options does _not_ list sdk-eng? (Which
>> sounds
>> like it's building the sdk and not an aosp image to run under the emulator,
>> but
>> let's at least try what it says first...)
>
> there are lots of options not listed in
On 6/18/20 1:46 PM, Chet Ramey wrote:
> On 6/17/20 1:22 PM, Rob Landley wrote:
>> Trying to figure out when spaces are and aren't allowed in ${blah} led to
>> asking
>> why echo ${!a* } is an error but ${!a@ } isn't (when there are no variables
>> starting with a), and I eventually worked out
On 6/18/20 2:46 PM, Chet Ramey wrote:
>> I'm pretty sure the array mangling logic ties in here somehow, but there's
>> some
>> missing error checking somewhere...
>
> Invalid transformation operators just expand to nothing.
Sorry, that's not right. Variables with null values just expand to