Carlos E. R. wrote:
On Thursday, 2013-04-04 at 12:54 +0200, Per Jessen wrote:
Carlos E. R. wrote:
I have that running for 17 minutes and it has not finished.
You have deliberately prolonged the agony by adding '-n 1' to xargs - that means xargs will fork 'echo' once per filename.
It was not my code ;-)
Try this:
xargs -0 printf "%s\n"
What a difference!
Telcontar:~ # time xargs -0 printf "%s\n"
real 0m2.794s user 0m2.279s sys 0m1.603s
Yep, that's more like it.
or much better:
wc -l --files0from=listadeficheros
Mmmm.... something wrong there. [snip] Ah! It is:
Telcontar:~ # time wc -l --files0-from=listadeficheros ...
Had to abort it, it prints to the screen the entire list. There is no quiet option :-?
My mistake, I misread what that option does. Ignore it. -- Per Jessen, Zürich (7.1°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org