And there are many +x11 ports that do not have a +quartz, so I would stick with the port echo command I listed. The rest was for fun.
On Thursday, November 19, 2015, Eric A. Borisch <ebori...@macports.org> wrote: > 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 > <javascript:_e(%7B%7D,'cvml','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