On 8/2/14, 10:06 PM, Aaron Lewis wrote:
> Hi,
> 
> I'm modifying bash source code and going to add some default variables:
> 
> But I only found "set_if_not", e.g
> set_if_not ("EDITOR", "nano");
> 
> How can I override that variable if it exists?

Since you're already looking through the bash source code, why not take a
look at set_if_not() and see what it does?  You can follow the function
chain from there.

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

Reply via email to