On 06/29/10 13:52, Norm Jacobs wrote:
Is there some magic transform that I can apply to change
file (value) path=path/that/i/am/packaging (attributes ...)
to
file MUMBLE path=path/that/i/am/packaging (attributes ...)
With the latest bits in
From the build 142 pkgmogrify man page:
Several synthetic attributes exist. Two are unique to pkgmogrify(1):
pkg.manifest.filename and pkg.manifest.lineno. These refer to
the name
of the file in which the action was found and the line on which
it was
found, respectively. Three others are similar to ones used in
pkg(1):
action.hash, action.key, and action.name, which refer to the hash
value of the action if the action carries a payload, the value of the
key attribute, and the name of the action type, respectively. For
actions with payloads, the "set" operation can change the hash of the
action by operating on the action.hash attribute.
and is there an easy way to strip all attributes except a supplied set?
If delete took regular expressions for attribute name, I could see how
to do it, but it doesn't.
No... what are you trying to do here?
- Bart
--
Bart Smaalders Solaris Kernel Performance
[email protected] http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss