Screen scrape <grin> got me on that one... Now why would I want to go be all original when I can just beg for help then - print "%-40.40s %-22.22s %-16.16s" % (na, ver, repo) + print "%s %s %s" % (na, ver, repo) and get what I need? :) Thanks! Earl --- seth vidal <skvidal@xxxxxxxxxxxx> wrote: > On Tue, 2005-03-01 at 19:47 -0800, Earl wrote: > >Any way I can get the "full" output from say a yum > >list avaialble? > > > >Normally, when you get to a rediculously long > package > >name, you get this: > > > >video4linux-kmdl-2.6.10-1.760_FC3smp.i68 > >1:20050113_172233-54.1 at-stable > >video4linux-kmdl-2.6.10-1.760_FC3smp.i58 > >1:20050113_172233-54.1 at-stable > > > >For those in a lame-*ss yahoo limited size window, > the > >package name gets chopped at colunm 40 (I believe). > > >Not a biggy most times but I want to do some "foo" > >with the output and need the full package name. > > > >Any ideas? > > > >Looked for the python code that handles this part > of > >the output but didnt have any luck... > > > > yum's output is not written to be screen scraped for > script use. If you > want to do that you can easily provide your own > mechanism for getting to > that data w/some python scripting. > > look in /usr/share/yum-cli/output.py > > -sv > > > _______________________________________________ > Yum mailing list > Yum@xxxxxxxxxxxxxxxxxxxx > https://lists.dulug.duke.edu/mailman/listinfo/yum > __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail