On Dec 27, 2007, at 1:06 PM, Ralf S. Engelschall wrote:
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
Thanks for the syntax hint ;-)
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... ;-)
Hehe. With arbitrary tags, I hope for "Specfile Sonnets" ala black
perl poetry.
Larry Wall beware, there's Artistic competition ;-)
73 de Jeff
______________________________________________________________________
RPM Package Manager http://rpm5.org
Developer Communication List [email protected]