There's probably a neater way to do it, but I did something like port search --line py26- | cut -f1 | xargs -n1 port installed | grep -Ev "(currently|are) installed" | sed -E "s/@.*//g" | sed "s/py26-/py27-/g" | xargs -n1 port info
then port search --line py26- | cut -f1 | xargs -n1 port installed | grep -Ev "(currently|are) installed" | sed -E "s/@.*//g" | sed "s/py26-/py27-/g" | sed -E "s/^/sudo port install /g" > install-py27.sh And edited the file, doing searches for the missing items in case they were irregularly named, or there was a replacement or equivalent. Russell _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
