From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 0d4ed895 for ; Mon, 8 Apr 2019 16:46:57 +0000 (UTC) Received: (qmail 24115 invoked by alias); 8 Apr 2019 16:46:44 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23913 Received: (qmail 3077 invoked by uid 1010); 8 Apr 2019 16:46:44 -0000 X-Qmail-Scanner-Diagnostics: from mail-it1-f177.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.1/25412. spamassassin: 3.4.2. Clear:RC:0(209.85.166.177):SA:0(-2.2/5.0):. Processed in 3.583005 secs); 08 Apr 2019 16:46:44 -0000 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.166.177 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mg8PLWF+STUKEIxXjC0B52ZjDFxDXhv4nhD7LRw31Hw=; b=ecofD8srqOgpaIm51978BAK6mpBVQPfQl/7sCN8nyIIc15B2J0tWVx9zcZVDj3W+WW lsslEgiCLl0MTLdbBlcgnk2yYh5acThcgsFuCZHFKrwAUbw2gF6A58KTiH28D0LdZbRm 9EjSWyTOif2KUoHVby2O17C4hea1QYhznEeiZFzOSx1QIbQOzNRQeaNyqPwZlA3Lel7V fKO+12Z5s4/Dw4eXDM7fL+RHOBeb5UnuVBgFAow0+AO99XRAK062f7x44HL2faGSuO4R KAz9GkdmtZ2SowFXzZAFpS+FWX0K47Dp7xvBPU62CDfe6YGcvtjxtXEn+7QGlUp2vnOv cLNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mg8PLWF+STUKEIxXjC0B52ZjDFxDXhv4nhD7LRw31Hw=; b=ny/hWxvNFbLDXoqVJcHQolsEEuYGA807cm5KrPXCH2JNl1s4R37HyWADaHZUPVYHYn RCnPADzBFE62O14wE2cABmaUjfmocjiDQQ3iWqybR0GBao/Yu6+0SJPDx/EmvNVkSLvc gtNg5tU0WCfQ5PJoyWyONurhU83znkbhKxAyo0c9hb0YuY3uzqqJ4b2uUxekbBy0thRE 0XD0ScALkoau2Y9uyZR7LWdpVQoeDaxqgITHs1d4NZhOVQT/gcFnqJ5ML++pTnksom2o jt0jcSLH6Y3QQykngCxZE0WOrxxTsvXI6tT/Na9WHS8YKAlO6KlmaelAspK8zALEMk8H W/Iw== X-Gm-Message-State: APjAAAUHgyXw9S+uyMLJnlDl4/swyUaSjGjVHCLXgWc2VqqLCywlBEQZ iN+qM2YPMnleeJd7PduEFb24yIKw6TPZY/I3eZLDtQ== X-Google-Smtp-Source: APXvYqykXNEdvUe4A622Nnqpk58VhO+Q6ISOaGBUp8UtPk4qzkrwFEUlnZD0NVXczlcfNsjMQCLrxm9Ha5P9vNi208M= X-Received: by 2002:a24:1312:: with SMTP id 18mr18755449itz.121.1554741967578; Mon, 08 Apr 2019 09:46:07 -0700 (PDT) MIME-Version: 1.0 References: <86v9zrbsic.fsf@zoho.eu> <20190406130242.GA29292@trot> <86tvfb9ore.fsf@zoho.eu> <86mul2apj8.fsf@zoho.eu> <20190408143748.GA21630@trot> <391277a7-d604-4c20-a666-a2886b1d2939@eastlink.ca> <83516-1554738473.876017@eIZM.Ak9L.ZvKr> <765759fc-cd56-e13b-c346-47041bb63a86@eastlink.ca> In-Reply-To: <765759fc-cd56-e13b-c346-47041bb63a86@eastlink.ca> From: Bart Schaefer Date: Mon, 8 Apr 2019 09:45:56 -0700 Message-ID: Subject: Re: find duplicate files To: Ray Andrews Cc: Zsh Users Content-Type: text/plain; charset="UTF-8" On Mon, Apr 8, 2019 at 9:30 AM Ray Andrews wrote: > > So then why do we need a new zsh based solution? The most typical answer would be that you have a shell and the standard utilities but not the ability or permission necessary to install a new specialized utility. Another answer is that it's an interesting algorithmic question and demonstrates techniques that could be applied to other problems. > particularly note what Peter said about files that are logically > different but coincidentally the same. Yes, if you run my sample script in an active zsh build tree it will find a lot of those.