[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?

From: Chet Ramey
Subject: Re: readline expansion: 'cp $v/<TAB>' -> 'cp \$v/' (no expansion) - why?
Date: Sun, 08 Jul 2012 12:50:15 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1

On 7/7/12 11:39 AM, Jason Vas Dias wrote:

> Next Question :
>   - any plans to allow us to export array or associative store
> variables ? ie. represent them in *environ passed to programs
>      with an integration with glibc  "getenv()"  to support this ?

There is already code -- commented out -- to export array variables in
a format that resembles a compound array assignment, and code -- still
commented out -- in bash to understand them.  It's not enabled because
the chance for obscure collisions with similarly-formed environment
variables is non-negligible and doesn't have an elegant solution.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]