public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: wayne <wayne@reliant.immure.com>
To: cygwin@cygwin.com
Subject: Re: problem with bash
Date: Thu, 14 Nov 2002 11:25:00 -0000	[thread overview]
Message-ID: <20021114130531.A37275@reliant.immure.com> (raw)
In-Reply-To: <3DD3F26D.8000609@Salira.com>; from ADeFaria@Salira.com on Thu, Nov 14, 2002 at 10:58:53AM -0800

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@reliant.immure.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/

  reply	other threads:[~2002-11-14 19:07 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-14  3:15 Claudio Tamietto
2002-11-14  8:53 ` Randall R Schulz
2002-11-14  9:00   ` wayne
2002-11-14  9:48     ` Igor Pechtchanski
2002-11-14 10:01       ` Randall R Schulz
2002-11-14 10:24         ` Igor Pechtchanski
2002-11-14 11:22       ` Andrew DeFaria
2002-11-14 11:25         ` wayne [this message]
2002-11-14 11:49         ` Randall R Schulz
  -- strict thread matches above, loose matches on Subject: below --
2015-06-30 11:06 Problem " Volker Hohmann (priv.)
2015-06-30 16:53 ` Achim Gratz
2002-11-14  9:50 problem " Claudio Tamietto
1997-11-07 14:15 Problem " Earnie Boyd
1997-11-07  9:20 Michael M. Schmitz
1997-11-08 13:48 ` Michael Hirmke
1997-11-12  1:43 ` Daniel Roche

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021114130531.A37275@reliant.immure.com \
    --to=wayne@reliant.immure.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).