This is the mail archive of the
mailing list for the Cygwin project.
Re: Syntax for sed .. altered?
- From: Chris Sutcliffe <ir0nh34d at gmail dot com>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Tue, 28 Jun 2016 09:41:15 -0400
- Subject: Re: Syntax for sed .. altered?
- Authentication-results: sourceware.org; auth=none
- References: <9D9AC45310887B40A7245734E850FBE13946B56A at FS-MX02 dot frontier dot local> <d0b0dc98-80ba-08d8-aca3-f19ed811faf0 at gmail dot com>
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.)
> 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?
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple