delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/04/00:57:29

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Mime-Version: 1.0
X-Sender: rschulz AT mailhost DOT teknowledge DOT com
Message-Id: <v04011701b37cf3ddc286@[206.173.238.68]>
In-Reply-To: <015d01beae34$e0297ba0$1400000a@yjlee>
Date: Thu, 3 Jun 1999 21:58:07 -0700
To: "Yu-Jui Lee" <yjlee AT go-trinity DOT com DOT tw>, <cygwin AT sourceware DOT cygnus DOT com>
From: "Randall R. Schulz" <rschulz AT teknowledge DOT com>
Subject: Re: 'find' case insensitive filenames

Hello,

Gnu find includes the predicate option -iname, which stands for case
Invariant name match and does exactly what you want.

Your example would be notated as:

	find . -iname fobar


Randy Schulz
Teknowledge Corp.
Palo Alto, CA USA


At 19:49 -0700 6/3/99, Yu-Jui Lee wrote:
>Hi,
>
>This may be a stray topic. But in a Win32 environment, the convention with
>file names is case insensitive. While the 'find' command in cygwin b20.1 is
>case sensitive. For example, if I want to find a case-insensitive "foo.bar",
>I need to type "find . -name "[Ff][Oo][Oo][Bb][Aa][Rr]". Is there a
>convenient way to do this?
>
>Thanks!
>
>Yu-Jui Lee
>
>Trinity Communications Inc.
>Taipei Taiwan.
>
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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