Re: [CentOS] yum remove from stdout

2008-07-13 Thread Kenneth Burgener
On 7/13/2008 10:43 AM, William L. Maltby wrote: On Sun, 2008-07-13 at 11:21 -0500, Johnny Hughes wrote: OR ... yum remove `cat result` The winner! And if running a modern bash yum remove $(cat result) Interesting. According to the bash man page `command` and $(command) are slightly di

Re: [CentOS] yum remove from stdout

2008-07-13 Thread William L. Maltby
On Sun, 2008-07-13 at 11:21 -0500, Johnny Hughes wrote: > Kenneth Burgener wrote: > > On 7/13/2008 8:50 AM, David Hláčik wrote: > >> Hello, little tricky question : > >> > >> i have a file of packages for removal , which looks like that : > >> > >> atk libart_lgpl libXfixes audiofile libXcurso

Re: [CentOS] yum remove from stdout

2008-07-13 Thread Johnny Hughes
Kenneth Burgener wrote: On 7/13/2008 8:50 AM, David Hláčik wrote: Hello, little tricky question : i have a file of packages for removal , which looks like that : atk libart_lgpl libXfixes audiofile libXcursor libxslt alsa-lib esound how to , provide that file to yum, using pipe, or redirec

Re: [CentOS] yum remove from stdout

2008-07-13 Thread Filipe Brandenburger
On Sun, Jul 13, 2008 at 11:16 AM, Ray Van Dolson <[EMAIL PROTECTED]> wrote: > You could probably also do something like: > > # for line in `cat packages.txt`; do echo remove $line >> yumshell.txt; done > # echo run >> yumshell.txt > # yum shell yumshell.txt Or, without the tempfile and in one l

Re: [CentOS] yum remove from stdout

2008-07-13 Thread Ray Van Dolson
On Sun, Jul 13, 2008 at 09:02:44AM -0600, Kenneth Burgener wrote: > On 7/13/2008 8:50 AM, David Hláčik wrote: >> Hello, little tricky question : >> i have a file of packages for removal , which looks like that : >> atk libart_lgpl libXfixes audiofile libXcursor libxslt alsa-lib esound >> how to

Re: [CentOS] yum remove from stdout

2008-07-13 Thread Kenneth Burgener
On 7/13/2008 8:50 AM, David Hláčik wrote: Hello, little tricky question : i have a file of packages for removal , which looks like that : atk libart_lgpl libXfixes audiofile libXcursor libxslt alsa-lib esound how to , provide that file to yum, using pipe, or redirect does not work cat re

[CentOS] yum remove from stdout

2008-07-13 Thread David Hláčik
Hello, little tricky question : i have a file of packages for removal , which looks like that : atk libart_lgpl libXfixes audiofile libXcursor libxslt alsa-lib esound gnome-mime-data libIDL ORBit2 libbonobo libdaemon libXrandr dbus-python avahi avahi-glib gamin shared-mime-info libXres startup-no