From owner-freebsd-questions@FreeBSD.ORG Mon Jun 30 06:04:00 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 42A953CA for ; Mon, 30 Jun 2014 06:04:00 +0000 (UTC) Received: from mail-qa0-x229.google.com (mail-qa0-x229.google.com [IPv6:2607:f8b0:400d:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 02BC3205A for ; Mon, 30 Jun 2014 06:03:59 +0000 (UTC) Received: by mail-qa0-f41.google.com with SMTP id cm18so6075770qab.14 for ; Sun, 29 Jun 2014 23:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=iu07O8fsE5xL5Bvd3caiK1QYYDLMUoTur3LwSpKCZMg=; b=EFx8oWGwXBCozJCx518D1hipuIzHy/AjwYrjEVGhYYRR/QmhjpfUUQGNobh6A1vhlt NzbjoT/gtAl3Db/NnobaDea0DWEuUNNRnZ1W35LjazR/N2OXt2mSA4jlPVIChK4addKk XDTwk7mmqWWD2drXHlRVmKmp3pYxUHTFb6QUUxbO0alJ6ETKDxS+KiegH4k3J3iSHFrl cDLluCiUBfi0ywLaeJOhvANMMEuiphKLvEJ1/AWneQjfyMCOTiUfsaDhaH8Q9CbhyjyH CPQuKsC8UiWbRuzTpc0zvPenIEnndPKTc1hHqZnvp24bWG98706J/TLmkm7gj6hKgnuc QRUg== MIME-Version: 1.0 X-Received: by 10.140.80.49 with SMTP id b46mr52615314qgd.102.1404108239164; Sun, 29 Jun 2014 23:03:59 -0700 (PDT) Sender: olivier2553@gmail.com Received: by 10.140.102.103 with HTTP; Sun, 29 Jun 2014 23:03:59 -0700 (PDT) In-Reply-To: <20140630053004.GB16901@ethic.thought.org> References: <20140630045605.GA11147@ethic.thought.org> <53B0EFF2.80205@calorieking.com> <20140630053004.GB16901@ethic.thought.org> Date: Mon, 30 Jun 2014 13:03:59 +0700 X-Google-Sender-Auth: ZFds-qMAWNLp376tPKy9ec_46R8 Message-ID: Subject: Re: long string using find and "-exec ls -ls" to find part-of filename From: Olivier Nicole To: Gary Kline Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2014 06:04:00 -0000 Gary, On Mon, Jun 30, 2014 at 12:30 PM, Gary Kline wrote: > ===== > Organization: Thought Unlimited. Public service Unix since 1986. > Of_Interest: With 27++ years of service to the Unix community. > > On Mon, Jun 30, 2014 at 12:09:04PM +0700, Olivier Nicole wrote: >> > find . -name foo.tar -o -name foo.tgz -o -name foo.tar.gz|xargs ls -lsi >> >> With parenthesis: >> >> find . \( -name foo.tar -o -name foo.tgz -o -name foo.tar.gz \) |xargs ls -lsi >> >> Olivier >> >> > > > right! but 4 more keystrokes. :_) And 33 keystrokes to complain for the extra 4s! And I did not count the line break and click on "send" :) Olivier > gary > > >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > -- > Gary Kline kline@thought.org http://www.thought.org Public Service Unix > Twenty-seven years of service to the Unix community. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"