Thanks Keith

Works for me.  But does not show some names that I have successfully installed, mingw32-libz-dev for example. I suppose those are aliases that this sed script does not pick up?

-- Tom

On Tue, Sep 21, 2010 at 10:00 PM, Keith Marshall <> wrote:
On 07/09/2010, LRN <> wrote:
>   On 06.09.2010 21:08, Charles Wilson wrote:
>> To get an idea of the possible package specs, do this:
>>      grep 'package name=' /mingw/var/lib/mingw-get/data/*xml
> Even better:
> grep 'package name=' /mingw/var/lib/mingw-get/data/*.xml | sed
> 's/.*<package name=\"\(.*\)\".*/\1/'

And, even better still--since you've done the hard part of the sed
expression--dispense with grep altogether:

 sed -n 's/.*<package name=\"\(.*\)\".*/\1/p'


Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
MinGW-users mailing list

This list observes the Etiquette found at
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at: