He specifically asked for a way to find and reinstall, not just find. I
provided one. ;)

On Thursday, November 19, 2015, Mojca Miklavec <mo...@macports.org> wrote:

> 2015-11-19 0:09 GMT+01:00 Eric A. Borisch wrote:
> > On Wed, Nov 18, 2015 at 3:29 PM, Bachsau wrote:
> >
> >> Is there a way to find all ports still installed with +x11 and
> >> reinstall with quartz instead?
> >
> > Try this first:
> >
> > port echo active and variant:quartz and variant:x11 \
> >   | sed -n -e '/\+quartz/d;s/@[^+-]*//;s/\+x11/-x11+quartz/p' \
> >   | xargs -n 2
>
> I would never be able to remember that. I would use a simple
>    port installed | grep x11
> to get the initial list.
>
> Mojca
>
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to