[CentOS] [yum] new problem with columns width output (parsing)
Jim Perrin
jperrin at gmail.com
Fri Jun 29 12:21:09 UTC 2007
On 6/29/07, Martin Hamant <mh at accelance.fr> wrote:
> This time, this is really a problem with the width of the version
> string, take a look:
>
> (centos 3!)
> httpd.i386 2.0.52-32.2.ent.centos update
> httpd-suexec.i386 2.0.52-32.2.ent.centos update
> kernel.i686 2.6.9-55.0.2.EL update
> kernel-smp.i686 2.6.9-55.0.2.EL update
> krb5-libs.i386 1.3.4-49 update
> krb5-workstation.i386 1.3.4-49 update
> mod_ssl.i386 1:2.0.52-32.2.ent.cent update
> ^^^^^^^^
>
> In my script, I have to get the full version string , how can I do ?
How are you doing the parsing? Are you scripting this from within yum
or are you trying to scrape/parse terminal output?
--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell
More information about the CentOS
mailing list