Date: Sat, 27 Feb 2010 11:47:25 +0100 From: Dominic Fandrey <kamikaze@bsdforen.de> To: Michael Reifenberger <mike@reifenberger.com> Cc: dougb@dougbarton.us, FreeBSD-Ports <freebsd-ports@freebsd.org> Subject: Re: portmaster usage for a list of ports Message-ID: <4B88F83D.30909@bsdforen.de> In-Reply-To: <alpine.BSF.2.00.1002271043320.9907@gw.reifenberger.com> References: <alpine.BSF.2.00.1002271043320.9907@gw.reifenberger.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 27/02/2010 11:10, Michael Reifenberger wrote: > Hi, > for compiling a list of ports inside a emulated FreeBSD-current environment > I would need to use portmaster as: > > cat ./myports.txt | xargs portmaster -r -R -G -g -d -m "WITHOUT_GSSAPI=YES" > (myports.txt contains a list of to be installed/updated ports) Useless use of cat. xargs < ./myports.txt portmaster ... > Unfortunately this doesn't work (specifying -m "BATCH=yes" doesn't help > too). xargs(1) holds the solution, this one will work: xargs -o < ./myports.txt portmaster ... -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B88F83D.30909>