MACSCRPT Archives

April 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dave Livesay <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 6 Apr 2006 12:13:49 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
You might want to preface that with "sudo" because there are directories in /System/Library that you, as a mere administrative user, won't have permission to search, and when you have a lot of "Permission denied" responses it makes it harder to see the other results that you're more interested in.
 
On Thursday, April 06, 2006, at 10:57AM, Peter N Lewis <[log in to unmask]> wrote:

>>Could someone provide me with a working example of 'find' from the 
>>terminal using the 'iregex' switch?  I'm getting stymied.
>
>iregex is case insensitive regex.
>
>find /System/Library -iregex ".*/fINDer.app/.*/sPANish.lproj/.*\.strings"
>
>finds all the Spanish strings resources in the Finder app.
>
>Note that the regex is probably not a PCRE, and so is probably more 
>limited in what it accepts.
>
>Enjoy,
>    Peter.
>
>-- 
>Check out Interarchy 8, just released!
><http://www.stairways.com/>  <http://download.stairways.com/>
>
>

ATOM RSS1 RSS2