Case discrimination

Earnie Boyd
Thu Jan 25 09:10:00 GMT 2001

Ashok Vadekar wrote:
> I looked at the FAQ for case insensitivity of bash, and tried the recommended
>         shopt -s nocaseglob
> but it doesn't seem to do what I expected.
> CD'ed to a directory containing the files "file1" and "File2", I was
> hoping that typing "ls f<TAB>"
> would result in expansion only up to the "e", and a further <TAB> would
> present a list of the two files.  It did not; instead, I got a fully expanded
> "file1".  Have I got something else wrong, or does the shopt option not do
> what I was expecting.  If not, is there another method of obtaining this
> behaviour?

echo 'set completion-ignore-case on' > ~/.inputrc

The shopt set shell options where the ~/.inputrc file is for readline
options.  More documentation `info --file /usr/info/readline'.


Do You Yahoo!?
Get your free address at

Want to unsubscribe from this list?
Check out:

More information about the Cygwin mailing list