On Fri, 2002-11-22 at 20:53, Matthew O. Persico wrote:

> >You're welcome, and I appreciate greatly the command line above!  It
> >will be handy in future installs I am sure.  :)
> >
> 
> Well if you think THAT was handy, how about a version that spits out the correct 
>perl in one shot, no editing needed:
> 
> rpm -qa | perl -ane 'BEGIN{print "\$o = { \"default_packages\" => [\n";} END{print 
>"]};"}$F[0]=~s/-[0-9].*//;print "\"$F[0]\",\n"' > auto_inst.cfg
> 
> :-)
> --
> Matthew O. Persico
> 

Matthew...you da MAN!   :)

--LX


-- 
���������������������������������������������������
Kernel  2.4.18-6mdk     Mandrake Linux  8.2
Enlightenment 0.16.5-11mdk    Evolution  1.0.2-5mdk
Registered Linux User #268899 http://counter.li.org/
���������������������������������������������������


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to