The pipe is STDOUT<-->STDIN not for argument passing.
--- Meir Faraj <[EMAIL PROTECTED]> wrote:
> Hi ,
> I've tryed this :
> [root@localhost myscripts]# find .. -name "*.class"
> | rm
> rm: too few arguments
> Try `rm --help' for more information.
>
>
> when :
>
> [root@localhost myscripts]# find .. -name "*.class"
> ../client/core/org/NoNextComponentException.class
> ../client/core/org/NoPartSelectedException.class
> ../client/core/org/PartNotFoundException.class
> ../client/core/org/XMLFactory.class
> ../client/core/org/XMLGui.class
> ../client/core/shell/component/XMLComponent.class
> ../client/core/shell/container/XMLPanel.class
> ../client/core/shell/main/NetSharer$1.class
> ../client/core/shell/main/NetSharer.class
> ../client/core/utils/codecs/Base64.class
>
> so rm doesn't see the pipe ;-)
>
=====
________________________
Eugenio Diaz, BSEE/BSCE
Linux Engineer
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/