Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu,  2 Nov 2000 16:43:48 +0000
Message-ID: <8054-Thu02Nov2000164348+0000-starksb@ebi.ac.uk>
X-Mailer: emacs 20.7.1 (via feedmail 9-beta-7 I);
	VM 6.75 under Emacs 20.7.1
From: David Starks-Browning <starksb@ebi.ac.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Ken Arromdee <arromdee@rahul.net>
CC: cygwin@sources.redhat.com
Subject: Re: Cygnus question
In-Reply-To: <Pine.GSU.4.21.0011010942100.10108-100000@waltz.rahul.net>
References: <9649-Wed01Nov2000172434+0000-starksb@ebi.ac.uk>
	<Pine.GSU.4.21.0011010942100.10108-100000@waltz.rahul.net>

On Wednesday 1 Nov 00, Ken Arromdee writes:
> On Wed, 1 Nov 2000, David Starks-Browning wrote:
> > > >How do I set up Cygnus so as to smash case?  I want to be able to do "ls b*"
> > > >or "grep foo b*" and not have to do it twice for b* and B*...
> > > 
> > > See bash documentation.
> > Or the FAQ:
> > 	"How can I get bash filename completion to be case insensitive?"
> 
> I seem to not have phrased my question properly.
> 
> I'm not using bash.  I'm using the Cygnus tools only, typing in the commands
> from a Windows command prompt.
> 
> And I'm aware I can use an expression such as [bB*], but my question is how
> to set things up so I don't need it.

I don't know that you can.  In UNIX, it *is* bash (or csh or ...) that
expands an expression like 'ls b*' to 'ls' plus a list of files that
matches your expression.  It's called "globbing".  (Don't ask me
why...)

Since the original UNIX commands ls, grep, ... have no builtin support
for filename globbing (since they expect the shell to do it), you
won't find it in Cygwin ports of these commands.

So you have to find a way to get cmd.exe or command.com to do this for
you.  I don't think Cygwin can help you with that problem.

Hope this helps.

Regards,
David


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

