Isn't this a bug?
[EMAIL PROTECTED] ~]# ls | xargs -I "{}" echo "{}"
xargs: invalid option -- I
Usage: xargs [-0prtx] [-E eof-str] [-e[eof-str]] [-I replace-str]
       [-i[replace-str]] [-L max-lines] [-l[max-lines]] [-n max-args]
       [-s max-chars] [-P max-procs] [--null] [--eof[=eof-str]]
       [--replace[=replace-str]] [--max-lines[=max-lines]] [--interactive]
       [--max-chars=max-chars] [--verbose] [--exit] [--max-procs=max-procs]
       [--max-args=max-args] [--no-run-if-empty] [--version] [--help]
       [command [initial-arguments]]

Report bugs to <[email protected]>.
[EMAIL PROTECTED] ~]# xargs  --version
GNU xargs version 4.1.20
[EMAIL PROTECTED] ~]#

==== The following xargs from Cygwin works fine =====
[EMAIL PROTECTED] [~]
{105} $ ls | xargs -I {} echo {}
Copy  of .bashrc
Copy of _vimrc
_viminfo
_vimrc_in_vim_folder
_vimrc_in_vim_folder~
nohup.out
pres_1191522600.xml

[EMAIL PROTECTED] [~]
{106} $ xargs --version
xargs (GNU findutils) 4.4.0
Copyright (C) 2007 Free Software Foundation, Inc.

Reply via email to