delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/25/13:07:42

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <03F4742D8225D21191EF00805FE62B990205E2A0@AA-MSG-01>
From: John Wiersba <John DOT Wiersba AT medstat DOT com>
To: "'Joshua Rosen'" <rozzin AT geekspace DOT com>, cygwin AT sourceware DOT cygnus DOT com
Subject: RE: How do I list subdirectories?
Date: Wed, 25 Aug 1999 13:03:53 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)

<SNIP>

> I am wondering why using a backslash anyware in a shell expression
> escapes all of the asterisks, right now..., but that appears to be
> something about bash, not Cygwin.

It doesn't.  Go to any dir with subdirs and try

echo */
echo *\/
echo *\a*/   (assuming some subdir has an "a" in it)
echo *z*/    (assuming no subdir has a "z" in it)

If you have shopt -u nullglob (the default) then a failed pattern is left as
is.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019