How do I list subdirectories?

John Wiersba John.Wiersba@medstat.com
Wed Aug 25 10:04:00 GMT 1999


<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



More information about the Cygwin mailing list