Bash globbing files only?

Daniel Qarras dqarras at yahoo.com
Mon Jan 29 19:54:17 UTC 2007


Hi!

--- "Jacques B." <jjrboucher at gmail.com> wrote:

> I don't know if it's just me, but I tried your syntax to list
> directories and that doesn't work for me.
> You use:  $ ls [^.]*/
> correct?
> All that does on my system is list all files, including files in any
> subfolders within the current directory. Basically seems to do the
> exact same as if I do: $ ls *

It works for me both on FC6 (bash3) and on Debian Sarge (bash2).
Perhaps there is something different in our inputrc/bashrc.

Thanks.




 
____________________________________________________________________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html




More information about the fedora-list mailing list