Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thursday, 2013-04-04 at 10:26 +0200, Bernhard Voelker wrote:
On 04/04/2013 10:07 AM, Carlos E. R. wrote:
It is the file command. There are, of course, many files. I don't know how many, because:
Telcontar:~ # wc -l listadeficheros 4 listadeficheros
because they are null terminated strings ;-)
$ xargs -0 -n 1 echo < listadeficheros | wc -l
;-)
Let's see...
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. Try this: xargs -0 printf "%s\n" <listadeficheros | wc -l or much better: wc -l --files0from=listadeficheros -- Per Jessen, Zürich (6.6°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