| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Thu, 14 Nov 2002 13:05:32 -0600 |
| From: | wayne <wayne AT reliant DOT immure DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: problem with bash |
| Message-ID: | <20021114130531.A37275@reliant.immure.com> |
| Reply-To: | Wayne Willcox <wayne AT reliant DOT immure DOT com> |
| References: | <20021114103412 DOT A36130 AT reliant DOT immure DOT com> <Pine DOT GSO DOT 4 DOT 44 DOT 0211141221480 DOT 4275-100000 AT slinky DOT cs DOT nyu DOT edu> <3DD3F26D DOT 8000609 AT Salira DOT com> |
| Mime-Version: | 1.0 |
| User-Agent: | Mutt/1.2.5i |
| In-Reply-To: | <3DD3F26D.8000609@Salira.com>; from ADeFaria@Salira.com on Thu, Nov 14, 2002 at 10:58:53AM -0800 |
| X-Operating-System: | FreeBSD reliant.immure.com 4.4-RELEASE FreeBSD 4.4-RELEASE |
You do if you an argument list that is to large. try using just
ls with 7000 files and see what happens. :-)
On Thu, Nov 14, 2002 at 10:58:53AM -0800, Andrew DeFaria wrote:
> Igor Pechtchanski wrote:
>
> > Well, if you really want something equivalent to 'ls *', you'd need to
> > do something like
> >
> > find . -maxdepth 1 \( -name .\* -o -print \) | xargs ls
> >
> > The "-maxdepth 1" is to not descend recursively into directories, and
> > the "-name .\*" is to avoid listing hidden files/directories (which
> > would not be matched by the '*' glob). The "-type f" is actually
> > wrong, as '*' will match directories as well.
> >
> > Also beware that ls may be an alias, and xargs will run the actual
> > executable in the path...
>
> Huh?!? Just type ls! You don't need anything else and certainly not
> something as complicated as what you propose.
>
>
>
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
--
Slowly and surely the unix crept up on the Nintendo user ...
Wayne Willcox I will not eat green eggs and ham
wayne AT reliant DOT immure DOT com I will not eat them Sam I Am!!
A wise person makes his own decisions, a weak one obeys public opinion.
-- Chinese proverb
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |