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: <03F4742D8225D21191EF00805FE62B990205E29E@AA-MSG-01> From: John Wiersba To: "' Clark Sims '" , cygwin AT sourceware DOT cygnus DOT com Subject: RE: How do I list subdirectories? Date: Wed, 25 Aug 1999 11:05:32 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" ls -F | grep /$ works. I'm not sure why you used egrep or *\ in your version. BTW, ls -F won't catch directories which start with . (use -A) and it won't catch symlinks to directories (use -L). > -----Original Message----- > From: Clark Sims [mailto:clarksimsgnu AT my-Deja DOT com] > Sent: Wednesday, August 25, 1999 8:13 AM > To: cygwin AT sourceware DOT cygnus DOT com > Subject: How do I list subdirectories? > > > 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? > > Thanks in Advance, > > Clark Sims > > > --== Sent via Deja.com http://www.deja.com/ ==-- > Share what you know. Learn what you don't. > > -- > Want to unsubscribe from this list? > Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com > -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com