[CentOS] Remove all 3rd party rpms

Sun Mar 30 18:12:07 UTC 2008
Alan Bartlett <ajb.stxsl at googlemail.com>

On 30/03/2008, Joseph L. Casale <jcasale at activenetwerx.com> wrote:
>
> >xargs is your friend. :-)
>
> Very nice! So how do I pass just the first string into it? The output is
> seperated by spaces,,,


awk is also your friend.

<cmd> | awk '{ print $1 }'

Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080330/da9b5e33/attachment-0005.html>