From nobody Thu Dec 29 00:38:26 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Nj8dX5x8Qz2kgTm; Thu, 29 Dec 2022 00:38:40 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Nj8dX387wz3nnJ; Thu, 29 Dec 2022 00:38:40 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1034.google.com with SMTP id o8-20020a17090a9f8800b00223de0364beso21438666pjp.4; Wed, 28 Dec 2022 16:38:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=0SKRd2CUrMzNzYFPiYanoyxjcQnrVJ7u4OcDROiVoHo=; b=GNg4awJKTL/H5wsms24SusdIn9xV07f1xUlITndnyOrWSlgtzgjLi3C45xTOwM6w54 66hV95U78LywzegvOHos5qhuHHBk2fFbHcoWI1sTuhST/hfZ2BFWmbLde4EeFxzvgL/q g9N91BwlBCHIwyCDna2H2TbNBbxfv/ipht1KL6vCJ8zf3sGme4qVIUi7zyZuhyOUk9Nd GPPi7qSHk91nVJMgSaFcZa55OuDp8ZieKQOOgTpOzDxnwiK4Y9kJipqYPsulDjom/flV uAu1n9abswzybFYisQ8uB/TP9PyECwBpznDhBAU8zekQ6C6AOey1wdRSqAvgOhwY76kK YZvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0SKRd2CUrMzNzYFPiYanoyxjcQnrVJ7u4OcDROiVoHo=; b=M9UHlGvcXdWpoFuxHwMmatCjnTGR5rfI1z5W8CqH8z9K7xZK4uOTEWu6qcdBpBUzHU yUTJ4MDpXwdDqEk37ENYgOk50f5WzDobBGdBYHl6SHewA334g/1OMkA7ysHeV7PfMlC1 /uAXJEcn5SBdToYI5fWC9Whu7FKHQbVig5QBa5Z1zruTEtreLxKQaEL3bBKDpQCW3yBA vNE2DzupL0G1OrsMTc0M9owOMzd//SUjF2Fu6qDTrcuv3Gx5VIq9VadMJEgkv8NI9ABL FUB5XxZS4H2JzzcqU6oLcDwnMLS4AKTh4ZCTUs2pAjfscV8gFy5XMZv3b4YM5gHyNS6o g35g== X-Gm-Message-State: AFqh2kq/4HH/bBm8QW27m/TImNhqL6sN+1m27oe+QUlPOrAMc0J90Ih2 +XgylmXoPwRgedGU0DBR4jlczdgvhUE= X-Google-Smtp-Source: AMrXdXuCHBWCgwPHOxNj9Iz1zYSyjK94xFw8DlTVp/mxjJDmXcHPdQYR7bjXRi/NjHDQt4sF1QCKXw== X-Received: by 2002:a05:6a20:8362:b0:ac:7a44:db55 with SMTP id z34-20020a056a20836200b000ac7a44db55mr26999887pzc.39.1672274318095; Wed, 28 Dec 2022 16:38:38 -0800 (PST) Received: from smtpclient.apple (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id z187-20020a6233c4000000b005808ba34e7fsm10122253pfz.97.2022.12.28.16.38.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Dec 2022 16:38:37 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Enji Cooper List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org Mime-Version: 1.0 (1.0) Subject: Re: git: 43dc1409c139 - main - Restricting xargs to '-n1' is much slower and isn't needed for file(1) Date: Wed, 28 Dec 2022 16:38:26 -0800 Message-Id: <4FFD9D6C-48D1-490F-859B-D7579B7BF80E@gmail.com> References: <202212282356.2BSNu41x040983@gitrepo.freebsd.org> Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org In-Reply-To: <202212282356.2BSNu41x040983@gitrepo.freebsd.org> To: "David E. O'Brien" X-Mailer: iPhone Mail (20B101) X-Rspamd-Queue-Id: 4Nj8dX387wz3nnJ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > On Dec 28, 2022, at 15:56, David E. O'Brien wrote: >=20 > =EF=BB=BFThe branch main has been updated by obrien: >=20 > URL: https://cgit.FreeBSD.org/src/commit/?id=3D43dc1409c139c39056bafdcd4d0= 83230ccb10b50 >=20 > commit 43dc1409c139c39056bafdcd4d083230ccb10b50 > Author: David E. O'Brien > AuthorDate: 2022-12-28 23:49:21 +0000 > Commit: David E. O'Brien > CommitDate: 2022-12-28 23:54:29 +0000 >=20 > Restricting xargs to '-n1' is much slower and isn't needed for file(1) >=20 > Also note that libc.so.6 is an older version of libc (thus why you'd > want to find files linked against it). > --- > usr.bin/ldd/ldd.1 | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/usr.bin/ldd/ldd.1 b/usr.bin/ldd/ldd.1 > index d263eabcf4ff..47a7fff9f778 100644 > --- a/usr.bin/ldd/ldd.1 > +++ b/usr.bin/ldd/ldd.1 > @@ -59,8 +59,8 @@ The following is an example of a shell pipeline which us= es the > .Fl f > option. > It will print a report of all ELF binaries in the current directory, > -which link against libc.so.6: > -.Dl "find . -type f | xargs -n1 file -F ' ' | grep 'ELF.*dynamically' | c= ut -f1 -d' ' | xargs ldd -f '%A %o\en' | grep libc.so.6" > +which link against the old libc.so.6: > +.Dl "find . -type f | xargs file -F ' ' | grep 'ELF.*dynamically' | cut -= f1 -d' ' | xargs ldd -f '%A %o\en' | grep -F libc.so.6" > .Sh SEE ALSO > .Xr ld 1 , > .Xr nm 1 , Hi David, The commit message doesn=E2=80=99t match the change: the ldd man page was ch= anged in this commit. Take care! -Enji=