Greetings, Fergus Daly!
> So far sed is the only operation where extreme sloth is exhibited. A
> favoured benchtest using a long computation within Cygwin has not suddenly
> slowed down, and remains consistent +/- 1 second within and between
> machines. More detective work required, I guess. And
>> $ find archive -type f | wc
87 871698
>> $ time find archive -type f | xargs sed -i 's/string1/string2/g'
real1m2.587s
user0m1.200s
sys 0m12.884s
>> More than a minute for 90 files is just extraordinary.
>> Anybody else having a similar experience?
> $
On 30/06/2016 16:57, Fergus Daly wrote:
find dirname -type f | xargs sed -i 's/string1/string2/g'
.. just hangs.
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?
Thank you very much for your interest
>>> find dirname -type f | xargs sed -i 's/string1/string2/g'
>>> .. just hangs.
>> 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?
Thank you very much for your interest.
I was premature in my assertion
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 us
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 c
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
7 matches
Mail list logo