I apologize for my ignorance… What rest was just for fun? Will the command work even in the presence of the ports that don’t have a +quartz? and, in this case, what would happen to those?
The complex command Eric presented earlier is very useful to me as well. I won’t memorize it either, but I bookmarked the message. All the best, Gustavo Seabra > Em 19 de nov de 2015, à(s) 11:55, Eric A. Borisch <ebori...@macports.org> > escreveu: > > 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> 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 _______________________________________________ macports-users mailing list macports-users@lists.macosforge.org https://lists.macosforge.org/mailman/listinfo/macports-users