From owner-freebsd-stable@FreeBSD.ORG Sun Jan 22 19:16:56 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB77B106566B for ; Sun, 22 Jan 2012 19:16:56 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 2C2FE8FC18 for ; Sun, 22 Jan 2012 19:16:56 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q0MJGqPf039976 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 22 Jan 2012 19:16:52 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.2 smtp.infracaninophile.co.uk q0MJGqPf039976 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1327259812; bh=MDhpZIvnaglXAW+69iXTEG15iGg/e+JHMte0FsoUzy4=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=p584BugZGSAuqVFTp19Ogki7oz1GFIvjKarsXKWbisseqw+JzKCfa6ZPwB55gbbpu 4xTTdf7uZIZsvv/pU8cppBcz4YCBY0l3QthCfrnlh/qHBZy/kf2Js3IlHf1419y/aS fTFrNUukNTTvb52SkJnopU3fwY4rS7qDFuuf9E5M= Message-ID: <4F1C609B.3010800@infracaninophile.co.uk> Date: Sun, 22 Jan 2012 19:16:43 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <20120111161110.4258969c.rpclark@tds.net> <20120112200843.2a348d2f.rpclark@tds.net> <4F0F8E6F.8000909@FreeBSD.org> <74dee0a775b93db4771f4de96eaf86c2@volcano.org> In-Reply-To: <74dee0a775b93db4771f4de96eaf86c2@volcano.org> X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8C9FC3480799F45A3C3BB849" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: GENERIC make buildkernel error / fails - posix_fadvise X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jan 2012 19:16:56 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8C9FC3480799F45A3C3BB849 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 22/01/2012 19:00, cliftonr@volcano.org wrote: > If rm had an option to take files from standard input, or if > there's another program I'm not aware of which does this, it > could serve as the right-hand side of this. xargs(1) -- generic solution to taking a list of command arguments from a file or pipe, and building a command line from them. So, supposing you have a list of files (one per line) you want to delete in a file called 'goners': xargs rm -f < goners xargs(1) is very commonly used in pipelines with find(1). Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig8C9FC3480799F45A3C3BB849 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8cYKMACgkQ8Mjk52CukIyTnQCeLW6C//w84xOpehjPfeYKmUfd KykAn3BdWrxjUIBcL5X7gs4ZwrM28RxX =fq/5 -----END PGP SIGNATURE----- --------------enig8C9FC3480799F45A3C3BB849--