On 16/05/2009, at 12:21, Daniel Macks wrote: > On Sat, May 16, 2009 at 10:35:29AM -0300, Monic Polynomial wrote: >> %f is the full package name (%n-%v-%r), where %n is the package name, >> %v is its version, and %r its revision. Is it possible to parse %f >> and >> split it into its three components? > > No. > > Not sure what you're trying to accomplish, but there's probably a > better way.
I'm developing a Fink notification plugin and I need to parse the list of package names that the plugin receives from Fink. Fink::PkgVersion::phase_activate() sends a notification whose description contains the packages formatted as Fink::PkgVersion::get_fullname(), the same as %f. I understand that Fink's notification system is primarily intended to output human-readable strings and hence get_fullname() shouldn't normally be an issue, but it is a problem for my plugin. :) Cheers, -- monipol ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel