On Thu, Dec 27, 2007, Ralf S. Engelschall wrote:

> [...]
> YES, YES, YES! Exactly *THIS* would be what we really need! I was not
> aware that the old values are still preserved on a stack.
> [...]

Just tried it:

| $ rpm --define 'foo bar' --eval '%foo' --define 'foo baz' --eval '%foo' 
--undefine 'foo' --eval '%foo'
| bar
| baz
| bar

Very nice, very nice. I cannot just wait until I see Jeff's commit
to support this:

| $ rpm --define 'foo foo' --define 'foo bar' --define 'foo quux' --eval 
"[EMAIL PROTECTED]:\n}"
| foo
| bar
| quux

Very interesting what rather cool functionalities are under the hat
of RPM and which nobody beside Jeff seems to know about at all. I
guess there are even more those cool things which we just have to
discovered... ;-)
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
Developer Communication List                        [email protected]

Reply via email to