From owner-freebsd-questions@FreeBSD.ORG Sat May 30 16:44:44 2009 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 C258B1065677 for ; Sat, 30 May 2009 16:44:44 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 0A2318FC1E for ; Sat, 30 May 2009 16:44:43 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id n4UGiWU0019060; Sat, 30 May 2009 18:44:32 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id n4UGiWSQ019057; Sat, 30 May 2009 18:44:32 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Sat, 30 May 2009 18:44:32 +0200 (CEST) From: Wojciech Puchar To: Polytropon In-Reply-To: <20090530183239.a6755d97.freebsd@edvax.de> Message-ID: References: <20090530183239.a6755d97.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Zbigniew Szalbot , freebsd-questions@freebsd.org Subject: Re: find and searching for specific expression in files 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: Sat, 30 May 2009 16:44:45 -0000 > the famous back-tics. > > % grep "expression" `find /path/to/files/ -mtime -2 -print` > > Of course, there are surely easier, faster and better means, > but from this one, I know it just works. :-) Furthermore, I unless filelist exceed max lenght of arguments and unfortunately it happens often