[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Case-insensitive case matching

From: Paul Jarc
Subject: Re: Case-insensitive case matching
Date: Thu, 08 Nov 2001 10:50:34 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-redhat-linux-gnu)

address@hidden (Kars Meyboom) wrote:
> Is there any way to perform a case-insensitive case command?

I don't think so, but you can spell out both cases without too much

> case "$1" in
>   *.c)
>     ...nifty shell code...
> would match both file.c and File.C?

case "$1" in
  *.[cC]) # or *.c|*.C)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]