From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ME20X-0006sf-8g for garchives@archives.gentoo.org; Tue, 09 Jun 2009 14:08:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85822E0456; Tue, 9 Jun 2009 14:08:55 +0000 (UTC) Received: from mail-ew0-f213.google.com (mail-ew0-f213.google.com [209.85.219.213]) by pigeon.gentoo.org (Postfix) with ESMTP id 491FBE0456 for ; Tue, 9 Jun 2009 14:08:55 +0000 (UTC) Received: by ewy9 with SMTP id 9so4708430ewy.34 for ; Tue, 09 Jun 2009 07:08:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=tPvYkLT0kMMTOij72cHRdoosL5hJ4bEq0RxtMdD1UNU=; b=W9OSgVyZjZV5QHTvQzQIEn6VPo96YTZjK/j5Pmn7Hacy2KQ37ibaDqzJ5eRI2y5eFK T/eZRh1TFR5FX7+iUbdT3n7CbQJZJy0sWxnyVYNp0+4rWgUHiSCWLiWLEvNmx3zKobpK c0aYpBQIrrLe5ZWuRWha7+3yzQNRlzzuCcLsA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ILJYoPNy+tzzKqgwBd7whNWskfcZgypf5MZV17CQQtsWBYdr7JIQS5PpEh73yWNg1L t4AE72hpDX16cJsd2uWZFQbjcNsUDO3j8mvjp0GiC+h8RrFEjJUbG9u8HXEPK2RLRKUt HpsZUEMdFRjc2WVEpit0lXiW82B+XEoIasqDU= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.216.72.209 with SMTP id t59mr60222wed.27.1244556534616; Tue, 09 Jun 2009 07:08:54 -0700 (PDT) In-Reply-To: <4a2e6838.soOW77ywccsjFiUz%Joerg.Schilling@fokus.fraunhofer.de> References: <200906082244.18324.alan.mckinnon@gmail.com> <20090608215408.3c4b4c91@krikkit.digimed.co.uk> <200906091533.18914.volkerarmin@googlemail.com> <4a2e6838.soOW77ywccsjFiUz%Joerg.Schilling@fokus.fraunhofer.de> Date: Tue, 9 Jun 2009 16:08:54 +0200 Message-ID: <6e6572060906090708n7a149d94qa2425a0d52774e15@mail.gmail.com> Subject: Re: [gentoo-user] Finding orphaned libs From: =?ISO-8859-1?Q?Micka=EBl_Bucas?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 49bc26b2-7c86-4833-a171-80de19e3927f X-Archives-Hash: a9d183da5204d3cf164ca9230c96336c 2009/6/9 Joerg Schilling > > Volker Armin Hemmann wrote: > > > On Montag 08 Juni 2009, Neil Bothwick wrote: > > > qfile --orphans $(find -H /usr/lib /lib -type f) > > > > qfile --orphans $(find -H /usr/lib /lib -type f) > > zsh: argument list too long: qfile > > This is not a zsh limitation but a Linux limitation. > You may have longer arg lists if you use Solaris ;-) > > You may avoid the problem with find . -exec prog args {} + > > J=F6rg > > -- > =A0EMail:joerg@schily.isdn.cs.tu-berlin.de (home) J=F6rg Schilling D-1335= 3 Berlin > =A0 =A0 =A0 js@cs.tu-berlin.de =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(uni) > =A0 =A0 =A0 joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schil= y.blogspot.com/ > =A0URL: =A0http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/s= chily > The right way to handle any size for the list returned by "find", is by using "xargs" : find -H /usr/lib /lib -type f | xargs -d'\n' qfile --orphans "xargs" fills the command line up to the maximum size, and then create another command line. Micka=EBl Bucas