On Mon, 2013-11-25 at 07:54 +1100, Craig Sanders wrote:
> On Sun, Nov 24, 2013 at 08:59:44PM +1100, Andrew Greig wrote:
> > Thanks for the reply, I found a way to create the list of software for
> > each machine using rpm -qa and then piped to a log file.
> >
> > I now have each log file copied into a spreadsheet side by side Column
> > A and Column B (text in B is red), I appended Bito column A and then
> 
> the spreadsheet was probably a mistake. text files are easier to work
> with and compare.
> 
> save the sorted data to two text files, one for each machine. ideal
> format would be one software package per line, with package name and
> version number.
> 
> then use diff.  comparing two text files is precisely what it is for.
> 
> 
> alternatively, write a simple program (perl or python would be ideal)
> which loads the packagename+version data into associative arrays, and
> then prints out the list of package/versions that are on computer A but
> not on B, and then the list of package/versions that are on computer B
> but not on A.
> 
> 
> either method will give you a much smaller set of data - packages &
> versions - to check and/or correct....dozens or hundreds of entries
> rather than thousands.
> 
> the list would likely be even smaller if you cared only about package
> names, and didn't care about versions.
> 
> craig
> 

Thanks Craig,

diff is what I will use, I will check out the man file tonight.

Cheers
Andrew

_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to