On Mon, 9 Jun 2003 13:15:55 -0400
Matthew Carpenter <[EMAIL PROTECTED]> wrote:

> 
> This is elegant, and most likely the cleanest way to approach the
> problem.
>
> On Sun, 08 Jun 2003 19:45:37 -0500
> Ben Duncan <[EMAIL PROTECTED]> wrote:

>>Actually a quicker way would be:
>> 
>> #!/bin/sh
>> # Script
>> for file in `ls myfile*`
>>   do
>>        DO SOMTHING HERE
>>   done

Actually, it�s not elegant at all.  If there are no files starting w/
myfile, you�ll get an ugly error message.  That�s not elegant.

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
                Nemesis Racing Team motto
GPG key autoresponder:  mailto:[EMAIL PROTECTED]

Attachment: pgp00000.pgp
Description: PGP signature

_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to