On Fri, 2004-12-17 at 19:09 -0500, Jeff Spaleta wrote:
On Fri, 17 Dec 2004 18:56:04 -0500, Charles R. Anderson
<cra(a)wpi.edu> wrote:
> Programs shouldn't be parsing filenames. They should be using rpmlib
> or rpm -q to extract the tags they need from the package.
This seems reasonable to me. But for the sake of discussion, i want to
see some examples of end-user facing tools still being maintained that
still parse filenames for versioning information.
The last tool i used as a user that parsed filenames was grab. And
while i loved and cherished grab when i used it...I really don't think
relying on the filename in a programatic way is a smart thing to do or
something to be encouraged.
-jef
I parse filenames for both version and repository information.