Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Disc space -- the final frontier!


devel / comp.unix.shell / Re: "find ... -exec sort -u {} ..." vs "find ... -exec cat {} \;| sort -u ... " vs "find ... | xargs sort -u"

SubjectAuthor
* Re: "find ... -exec sort -u {} ..." vs "find ... -exec cat {} \;|Chris Elvidge
`- Re: "find ... -exec sort -u {} ..." vs "find ... -exec cat {} \;|Kaz Kylheku

1
Re: "find ... -exec sort -u {} ..." vs "find ... -exec cat {} \;| sort -u ... " vs "find ... | xargs sort -u"

<snteav$man$1@dont-email.me>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4625&group=comp.unix.shell#4625

 copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: chr...@mshome.net (Chris Elvidge)
Newsgroups: comp.unix.shell
Subject: Re: "find ... -exec sort -u {} ..." vs "find ... -exec cat {} \;|
sort -u ... " vs "find ... | xargs sort -u"
Date: Sat, 27 Nov 2021 14:11:42 +0000
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <snteav$man$1@dont-email.me>
References: <d99a9341-2a6b-49f9-8652-16b1476610ean@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 27 Nov 2021 14:11:43 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c32257782dbb67fbbfc7e8a63c6e57e5";
logging-data="22871"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/J1AsaTu3Ep27SlLqCE/BBTVW9zC4txxY="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Thunderbird/52.2.1 Lightning/5.4
Cancel-Lock: sha1:LWMnh9q6jRkpDinJJ2UNdW87awM=
In-Reply-To: <d99a9341-2a6b-49f9-8652-16b1476610ean@googlegroups.com>
Content-Language: en-GB
 by: Chris Elvidge - Sat, 27 Nov 2021 14:11 UTC

On 27/11/2021 01:25 pm, hongy...@gmail.com wrote:
> See my following testings:
>
> $ find ./source -type f -exec sort -u {} -o aaa \;
> $ find ./source -type f | xargs sort -o bbb -u
> $ find ./source -type f -exec cat {} \;| sort -u -o ccc
> $ wc aaa bbb ccc
> 17715 17898 157889 aaa
> 875968 1063102 9971040 bbb
> 875968 1063102 9971040 ccc
> 1769651 2144102 20099969 total
>
> So, the first usage seems to be incorrect. But I can't understand why such a mistake would occur. Any hints will be highly appreciated.
>
> Regards,
> HZ
>

What, exactly, are you trying to do?

--
Chris Elvidge
England

Re: "find ... -exec sort -u {} ..." vs "find ... -exec cat {} \;| sort -u ... " vs "find ... | xargs sort -u"

<20211129102738.619@kylheku.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=4644&group=comp.unix.shell#4644

 copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: 480-992-...@kylheku.com (Kaz Kylheku)
Newsgroups: comp.unix.shell
Subject: Re: "find ... -exec sort -u {} ..." vs "find ... -exec cat {} \;|
sort -u ... " vs "find ... | xargs sort -u"
Date: Mon, 29 Nov 2021 18:29:24 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <20211129102738.619@kylheku.com>
References: <d99a9341-2a6b-49f9-8652-16b1476610ean@googlegroups.com>
<snteav$man$1@dont-email.me>
Injection-Date: Mon, 29 Nov 2021 18:29:24 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="660037e81636f526ccc9913bc021ec1b";
logging-data="26199"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+RXInA77GIDSsL+AUJs9aslaILInzHqNY="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:rT5TJ12+hZbxvbkJQseXEAnzSfc=
 by: Kaz Kylheku - Mon, 29 Nov 2021 18:29 UTC

On 2021-11-27, Chris Elvidge <chris@mshome.net> wrote:
> On 27/11/2021 01:25 pm, hongy...@gmail.com wrote:
>> See my following testings:
>>
>> $ find ./source -type f -exec sort -u {} -o aaa \;
>> $ find ./source -type f | xargs sort -o bbb -u
>> $ find ./source -type f -exec cat {} \;| sort -u -o ccc
>> $ wc aaa bbb ccc
>> 17715 17898 157889 aaa
>> 875968 1063102 9971040 bbb
>> 875968 1063102 9971040 ccc
>> 1769651 2144102 20099969 total
>>
>> So, the first usage seems to be incorrect. But I can't understand why such a mistake would occur. Any hints will be highly appreciated.
>>
>> Regards,
>> HZ
>>
>
> What, exactly, are you trying to do?

To avoid learning how to understand programming, while a child goes from
birth to graduating with a master's degree in CS.

--
TXR Programming Language: http://nongnu.org/txr
Cygnal: Cygwin Native Application Library: http://kylheku.com/cygnal

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor