* Ryan Sorensen <[EMAIL PROTECTED]> [2002-10-04 14:47 (13:28:38)]

> for i in $(ls $1);do\

> Now the question: Can I make these all case insensitive? For
> instance right now things to [EMAIL PROTECTED] and [EMAIL PROTECTED] or
> [EMAIL PROTECTED] are all treated differently, so with a mail sent
> to each of these addresses, only the one that matches the
> folder name including case sensitivity gets put there, the
> others go into record.

Change that line in you scripts with:

for i in $(ls $(echo $1 | tr '[A-Z]' '[a-z]'))

You can also use some perl magic, if tr isn't available on your
system.

-- 
Rafael C. Gawenda
                                             2:346/7.549@fidonet
                                    Registered LiNUX user #93375
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Computers are useless. They can only give you answers (Pablo
Picasso)

Attachment: msg31575/pgp00000.pgp
Description: PGP signature

Reply via email to