He specifically asked for a way to find and reinstall, not just find. I provided one. ;)<span></span><br><br>On Thursday, November 19, 2015, Mojca Miklavec &lt;<a href="mailto:mojca@macports.org">mojca@macports.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2015-11-19 0:09 GMT+01:00 Eric A. Borisch wrote:<br>
&gt; On Wed, Nov 18, 2015 at 3:29 PM, Bachsau wrote:<br>
&gt;<br>
&gt;&gt; Is there a way to find all ports still installed with +x11 and<br>
&gt;&gt; reinstall with quartz instead?<br>
&gt;<br>
&gt; Try this first:<br>
&gt;<br>
&gt; port echo active and variant:quartz and variant:x11 \<br>
&gt;   | sed -n -e &#39;/\+quartz/d;s/@[^+-]*//;s/\+x11/-x11+quartz/p&#39; \<br>
&gt;   | xargs -n 2<br>
<br>
I would never be able to remember that. I would use a simple<br>
   port installed | grep x11<br>
to get the initial list.<br>
<br>
Mojca<br>
</blockquote>