bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xargs Incorrect number of lines “-I”


From: Titkov, Sergey
Subject: Xargs Incorrect number of lines “-I”
Date: Mon, 13 Feb 2012 06:35:38 +0000

I apologize for my English.

I am running the commands.
All commands are executed sequentially.
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
Active code page: 1251

c:\Program Files\Unix Tools\TEST>xargs.exe --version
GNU xargs version 4.2.20

c:\Program Files\Unix Tools\TEST>dir /B
find.exe
libiconv2.dll
libintl3.dll
locate.exe
updatedb
xargs.exe

I have six files.
c:\Program Files\Unix Tools\TEST>dir /B | xargs.exe -I {} echo {}
find.exe
libiconv2.dll

Two files. The rest of the file names are not evidence.
c:\Program Files\Unix Tools\TEST>dir /B | xargs.exe -I {} echo {}
find.exe
libiconv2.dll
libintl3.dll
locate.exe
updatedb
xargs.exe

All of the files is present.
c:\Program Files\Unix Tools\TEST>dir /B | xargs.exe -I {} echo {}
find.exe
libiconv2.dll
libintl3.dll

Three files.
Why xargs shows number of different files?

С уважением,
Сергей Титков
Старший инженер - программист Группа "Система самообслуживания абонентов"
Четвертый производственный отдел
ЗАО "ПЕТЕР-СЕРВИС"
=============================================================
Тел.: +7 812 3261290 доб. 0267
E-mail: address@hidden<mailto:address@hidden>
URL: http://www.billing.ru<http://www.billing.ru/>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]