Andre Stechert wrote: > port list | wc -l > answers the question "how many ports does macports have nowadays? > we catching up to freebsd yet?"
port echo all | wc -l port search '*' | tail -1 > port list | grep ... > answers the question "is /re/ a port?" without requiring me to > understand port search's syntax and/or limitations compared to regular > old grep. > > port list | awk ... > allows me to perform arbitrary shell operations against the entire > set of possible ports for cleanup, statistics, or whatever. port echo all | grep ... port echo all | awk ... Maybe it would be useful to make list an alias to echo? A command like port info --line --name --version ... all allows even more by selecting the field you want to view. Rainer _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
