• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Finding Filenames that contain a certain string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finding Filenames that contain a certain string


  • Subject: Re: Finding Filenames that contain a certain string
  • From: "J. Stewart" <email@hidden>
  • Date: Fri, 20 Jul 2007 20:20:29 -0400

On 7/20/07 at 4:12 PM, Michelle Steiner <email@hidden> spake thusly:

The "do shell script" command, in contrast, does come standard with
the system.  It's not pure AS (it's in a scripting addition), but it
requires no additional setup work on the part of the AS programmer to
gain access to it.  Now, the shell, as it happens, does regular
expression matching.  So using it seemed to be an obvious solution to
the problem.

Thing is that the "pure applescript" solution is understandable even by beginners, whereas the regex solution is pure gibberish to anyone who doesn't already know regex.


And if you are never told about it or exposed to it I suppose you'll never need it. Sure is handy though.

John
--
Naturally, the common people don't want war, but after all, it is the leaders of a country who determine the policy, and it is always a simple matter to drag people along whether it is a democracy, or a fascist dictatorship, or a parliament, or a communist dictatorship. Voice or no voice, the people can always be brought to the bidding of the leaders. This is easy. All you have to do is tell them they are being attacked, and denounce the pacifists for lack of patriotism and exposing the country to danger. It works the same in every country. -Hermann Goering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden
  • Follow-Ups:
    • Re: Finding Filenames that contain a certain string
      • From: Bill Briggs <email@hidden>
References: 
 >Re: Finding Filenames that contain a certain string (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Finding Filenames that contain a certain string
  • Next by Date: Re: Finding Filenames that contain a certain string
  • Previous by thread: Re: Finding Filenames that contain a certain string
  • Next by thread: Re: Finding Filenames that contain a certain string
  • Index(es):
    • Date
    • Thread