Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <19990825122534.16085.rocketmail@web119.yahoomail.com> Date: Wed, 25 Aug 1999 05:25:34 -0700 (PDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: How do I list subdirectories? To: Clark Sims , "cygwin AT sourceware DOT cygnus DOT com" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Clark Sims wrote: > In the FSF version of bash > ls -F | egrep *\/ > listed all of the subdirectories of the current working > directory. > In the Cygwin version the same command produces no > output. > > How do I list the subdirectories of the current working > directory? > Doesn't the egrep need to be `egrep .*\/'? The period indicates any character, the * indicates any number of the preceding character. Therefore to match what you want you need to specify .* to mean any number of any character. === Earnie Boyd Newbies, please visit (If you respond to the list, then please don't cc me) __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com