From: Kurt Euler Date: 2004-10-29T06:08:20+09:00 Subject: How to make Dir.glob method NOT case sensitive. ------_=_NextPart_001_01C4BD32.3F915ABC Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable All- Can anyone advise as to how to make the Dir.glob method NOT case sensitive. For example, in the following routine, I'd like to find all "PCM_OP*.XML" and "pcm_op*.xlm" occurances in the specified directory: for f in Dir.glob("m:/some_directory/**/PCM_OP*.XML") next unless File.file?(f) count =3D count + 1 puts File.dirname(f) + "/" + File.basename(f) end Thanks! ------_=_NextPart_001_01C4BD32.3F915ABC--