看板 FB_ports 關於我們 聯絡資訊
On 03/27/2011 00:26, perryh@pluto.rain.com wrote: > Doug Barton<dougb@freebsd.org> wrote: >> On 03/26/2011 10:00, Matthew Seaman wrote: >>> pkg_version -vIL= | awk '/^p5-/ { print $1 }' | xargs portmaster >> >> That's a good suggestion, but if you want to use that technique, better >> would be: portmaster `pkg_version -vIL= | awk '/^p5-/ { print $1 }'` ... > > Unless the number of ports involved is very large, either > should produce exactly the same effect. Absent a -n or -s > switch, xargs collects up to 5000 args or a ~250KB command > line for each invocation of (in this case) portmaster. Interesting ... not sure how I got it in my mind that xargs always runs them one at a time, but thanks for clarifying this. :) Doug -- Nothin' ever doesn't change, but nothin' changes much. -- OK Go Breadth of IT experience, and depth of knowledge in the DNS. Yours for the right price. :) http://SupersetSolutions.com/ _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"