How to use "do shell script" to search for RegExps
How to use "do shell script" to search for RegExps
- Subject: How to use "do shell script" to search for RegExps
- From: "Rebecca O'Connell" <email@hidden>
- Date: Wed, 21 Apr 2004 16:56:45 -0400
I have read a number of thread where someone suggests using "do shell
script" and perl to do a string search. Could someone post an example of the
syntax one would use to do this? For example if wanted to do something
equivalent to
if myVar contains \(a|A)\ then set hasA to true
using a shell script how would I go about it?
Thank you,
Rebecca
_______________________________________________
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.