This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: xargs still nok?
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 8 Sep 2005 12:26:58 +0200
- Subject: Re: xargs still nok?
- References: <on00i11u7d2a93lkl1hu98sav3kvi0c5cj@4ax.com>
- Reply-to: cygwin at cygwin dot com
On Sep 8 10:26, zzapper wrote:
> Hi,
>
> GNU xargs version 4.2.25
>
> or more likely am I misusing xargs?
>
> $ ls *.cfm */*.cfm */*/*.cfm */*/*/*.cfm | xargs grep -i host
> bash: /usr/bin/ls: Argument list too long
^^^^^^^^^^^^^^^^^
Nothing to do with xargs. Use find instead of ls/w wildcards.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/