Re: Shell Script 'find'
Re: Shell Script 'find'
- Subject: Re: Shell Script 'find'
- From: Simon Topliss <email@hidden>
- Date: Sat, 14 Dec 2002 20:00:41 +0000
Never mind. I missed the '-iname' option. This does exactly what I needed.
Simon
On 14/12/02 3:49 pm, "Simon Topliss" <email@hidden> wrote:
>
If I have have the following script:
>
>
do shell script "find " & searchFolder & " -name " & searchStr
>
>
The variables are Posix path and quoted form.
>
>
How do I tell the 'find' program to ignore case of the variable 'searchStr'?
>
>
Is it even possible? I see that regex has 'REG_ICASE', but I can't find any
>
examples as to how to use it and don't know if will help anyway.
>
>
TIA,
>
>
Simon
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.