X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=kcLlcoV TA6BBcPSrLpNb3MEz66kGnyO+lbZ+XAv5xytTx+VO20lfsvaaW7f5AOwQd8D/M3w 5+wXfsEimavouJ8xHqDvTV4BCSQuzBd3j/q+xpc6MNTU3I4mixXfObAuxwAKoMWR H+I2w2YMv2eDmQIGIRSnbviwc+n0xVBpSk7k= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; s=default; bh=wrQIX3jTxzruX +UC+fsp5uszC1Y=; b=DGAqRRI1pk5KpISPk7ifM3Wj0lSRFiPu80ZEIIhO2xVDw davzqtQKYMTHHprmXhh+ual3nwkFXicpYyKPvrMk5Y3QrsUFvkGc9DtDX0SZz5/b JFkSIoPq43OeMdeslij1kC/0E40clzPAPY6AGF+VLX4EAw6mZ/rDjY/fKE6BNo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*i:sk:d0b0dc9, H*f:sk:d0b0dc9 X-HELO: mail-io0-f173.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=+Y9N2n/5aF8JkLBs0YTeB2hxcUkYT3bMn+qeGQhm5r0=; b=PVee1xC47S/6IKKb/OgLTwDhOdSAwwUOKpUqq7N0BJXlcNVFMSZYla2oxpWPEmBXnz OqQLJpNsdvNdjj2O7DjZsALXfEPAbvApFESBnTibnWb8BzY8I0JqhA+KJV1T3PntkA8u JwT7in8jUk6dXa8F5a3mIDRRIxi93Q849NwIeLE6gGerOuUuQwSCqyxDjhq9bvW81w2U aX6EIvN4G4LUtvEVmdEIIekXT7JtwVmCMTNE84zQxrYN1u1zgjhb3PafdwMSlby2ECC1 gHhwgSUu4AkPYaEOn8BNkFHaZTMc+ZEz9tYweg1wq5+uuSqBu8c4PnHppxwwKQ1DVUoo ynVw== X-Gm-Message-State: ALyK8tIXgRIPnzyV58bSKd/V/kur4zR5DeUOjWIzYpQlvtrm8gBTuAbBlJHXxyDCUdDr/EwzIGU+yBc4VEYrwg== X-Received: by 10.107.143.131 with SMTP id r125mr3622886iod.54.1467121275717; Tue, 28 Jun 2016 06:41:15 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <9D9AC45310887B40A7245734E850FBE13946B56A AT FS-MX02 DOT frontier DOT local> From: Chris Sutcliffe Date: Tue, 28 Jun 2016 09:41:15 -0400 Message-ID: Subject: Re: Syntax for sed .. altered? To: The Cygwin Mailing List Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes On 28 June 2016 at 09:32, Marco Atzeri wrote: > On 28/06/2016 13:45, Fergus Daly wrote: >> >> For ages I have been able to run through all the files under a directory >> changing occurrences of string1 to string2 with the command >> find dirname -type f | xargs sed -i 's/string1/string2/g' >> It used to take no time at all for say 6000 files. >> Now the same command just hangs. >> The files are all text files, no binaries or anything awkward. Just don't >> understand it. >> (By contrast >> find dirname -type f | xargs md5sum >> still works just fine. 6000 files in less than a second.) >> Fergus >> > > sed is unchanged from at least 2013, so it must be something else. Is is possible that this is related to a change in the Cygwin library? Fergus, what version of Cygwin are you running? Did you recently update to 2.5.2? Did this work as expected under 2.5.1? Cheers, Chris -- Chris Sutcliffe -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple