From owner-freebsd-questions@FreeBSD.ORG Sun Jun 8 23:14:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 085B01065673 for ; Sun, 8 Jun 2008 23:14:09 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id CE5608FC0A for ; Sun, 8 Jun 2008 23:14:08 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id D2CD31130D3; Sun, 8 Jun 2008 19:14:07 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Sun, 08 Jun 2008 19:14:07 -0400 X-Sasl-enc: cZg3FZCykNLGmjmokhIikdFg0d6IMTvsQpN3JAAzpo0g 1212966847 Received: from hagrid.ewd.goldmark.org (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTPSA id 3D7B011A9C; Sun, 8 Jun 2008 19:14:07 -0400 (EDT) Message-Id: From: Jeffrey Goldberg To: Raphael Becker In-Reply-To: <20080608225023.GD54922@ma.sigsys.de> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Date: Sun, 8 Jun 2008 18:14:06 -0500 References: <484C3CC4.7050107@webrz.net> <20080608221328.U9955@wojtek.tensor.gdynia.pl> <20080608225023.GD54922@ma.sigsys.de> X-Mailer: Apple Mail (2.924) Cc: FreeBSD List Subject: Re: Grep Guru X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2008 23:14:09 -0000 On Jun 8, 2008, at 5:50 PM, Raphael Becker wrote: > find . -type -f -exec grep {} \+ > > -exec foo {} \+ behaves like xargs foo > -exec foo {} \; exec foo for every file Way cool! I hadn't known that about find(1). Cheers, -j