Re: Dynamic variables and set builtin

2009-08-28 Thread Chet Ramey
Roman Rakus wrote: > So, what we do with this? I'm for rereading variables in set builtin. I'm not inclined to do anything. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRUc...@case.eduhtt

Dynamic variables and set builtin

2009-08-28 Thread Roman Rakus
I'm not sure if this is a bug or not, but set builtin prints dynamic variables in their last state, but not actual. For example: [rra...@dhcp-lab-170 bash-4.0]$ set | grep BASH_CMDS BASH_CMDS=() [rra...@dhcp-lab-170 bash-4.0]$ hash hitscommand 4/bin/grep 1/bin/egrep 1/usr