[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
xargs
From: |
Huang, Jack |
Subject: |
xargs |
Date: |
Mon, 12 May 2008 17:05:21 -0700 |
Isn't this a bug?
address@hidden ~]# 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 <address@hidden>.
address@hidden ~]# xargs --version
GNU xargs version 4.1.20
address@hidden ~]#
==== The following xargs from Cygwin works fine =====
address@hidden [~]
{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
address@hidden [~]
{106} $ xargs --version
xargs (GNU findutils) 4.4.0
Copyright (C) 2007 Free Software Foundation, Inc.