On Sat, 23 Mar 2002, Martin Frost wrote: > Seems to work. I did exactly that yesterday. The main annoyance is > stripping off the version numbers, since there isn't a perfect > algorithm for detecting where the name ends and the version number > starts. I did most by stripping off -<digits> and then went through Sure there is -- take everything before the next to last -. An easier way is 'rpm --qf '%{NAME}\n' -qa though. Erik ------------------------------------------------------------------------------- | "Who is John Galt?" - Atlas Shrugged by Ayn Rand | | | | Linux Application Development -- http://people.redhat.com/johnsonm/lad |