This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: How do I list subdirectories?
- To: "'Joshua Rosen'" <rozzin@geekspace.com>, cygwin@sourceware.cygnus.com
- Subject: RE: How do I list subdirectories?
- From: John Wiersba <John.Wiersba@medstat.com>
- Date: Wed, 25 Aug 1999 13:03:53 -0400
<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@sourceware.cygnus.com