delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/25/12:19:46

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3A705E2B.31FB68B6@yahoo.com>
Date: Thu, 25 Jan 2001 12:11:07 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: avadekar AT certicom DOT com
CC: cygwin AT cygwin DOT com
Subject: Re: Case discrimination
References: <20010125110035 DOT E20263 AT volta DOT certicom DOT com>

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
C-xC-r


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

Cheers,
Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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