for i in `cat rpms` do rpm -evv --nodeps $i done
Joe
i must have missed something. i tried executing those commands, and i did receive some output when it completed, but i don't think it uininstalled anything.
the output called an error on 'cat' apparently thinking it was a package, as well as on the filename i used to store the list of packages i want removed.
Those quotes are back-quotes. This is 'cat rpms' in single quotes and `cat rpms` in backquotes. I often use the alternative syntax:
for i in $(cat rpms) do rpm -evv $i done
Although, in this case
rpm -evv $(cat rpms)
works (I think), not to mention the more obscure
rpm -evv $(< rpms)
This last one is blindingly efficient for things like
echo $(< /etc/redhat-release)
since it doesn't involve starting any new processes.
There, now, are you sorry you asked? :-)
jch
-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list