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:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; q=dns; s=default; b=BDk 4oglrM1lO8t1t+6I6GTOaV+0uZk75fxwkR11rj409l44mby9m/bwYxy05uBhKlKo mz12hK6L04q/Vi4On0kR/iP3caFVEU0Mi+5jUKraQXd+qFy+kSR/UzZSl37IVxRW 0A0zq36nocoLI27KDgfUAjP0dEzDPwBKpdVspOAc= 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:from:to:subject:date:message-id:content-type :content-transfer-encoding:mime-version; s=default; bh=4eIJeg7V9 VdB/gt0iKeuGk/YdTE=; b=XpH8NqPirwWnTBXlyYquTa1tGlCtAF+vGBqzPbGh1 S1/vAAE7VLqbOA+7ay36h78nTYVB+0ijllRFLtUYwLqtbVaIMl2AflLHbUBNGtpk nIqvCOv9C8Jvv1Kpeo/TNW5FmzSMYdXcKZvzlppbe4ZwQlU6c5LRZBFSH+KV9s2W Xo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: <cygwin.cygwin.com> List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> 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.6 required=5.0 tests=BAYES_05,KAM_COUK,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:unknown, H*RU:unknown X-HELO: mx-relay22-haj2.antispameurope.com From: Fergus Daly <fergusd AT frontier-science DOT co DOT uk> To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com> Subject: Syntax for sed .. altered? Date: Tue, 28 Jun 2016 11:45:28 +0000 Message-ID: <9D9AC45310887B40A7245734E850FBE13946B56A@FS-MX02.frontier.local> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-cloud-security-sender:fergusd AT frontier-science DOT co DOT uk X-cloud-security-recipient:cygwin AT cygwin DOT com X-cloud-security-Virusscan:CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mx-gate22-haj2 with 18C7410AC004 X-cloud-security-connect: unknown[195.59.181.82], TLS=1, IP=195.59.181.82 X-cloud-security:scantime:.3199 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u5SBjwAo019114 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 -- 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