On Aug 19, 2014, at 2:17 PM, Ryan Schmidt wrote: > > port -q installed active | sed -E -n -e 's/\+universal//' -e 's/\(active\)$//p' | xargs sudo port activate Correction: port -q installed active | sed -E -n -e 's/\(active\)$//' -e 's/\+universal//p' | xargs sudo port activate