Re: How to Do This Without Smile or Satimage
Re: How to Do This Without Smile or Satimage
- Subject: Re: How to Do This Without Smile or Satimage
- From: Rick Gordon <email@hidden>
- Date: Tue, 28 Feb 2012 22:35:45 -0800
Now we're cooking -- what I actually want:
set vCommand to "perl -pe 's/^(.+?)indent(.*)$/\\1flush\\2/g' <<< " & quoted form of vParaStyleNameIn
Rick Gordon
------------------
At 10:29 PM -0800 2/28/12, Rick Gordon wrote:
>...And this works better:
>
>set vCommand to "sed -E 's/^(.+)indent(.*)$/\\1flush\\2/g' <<< " & quoted form of vParaStyleNameIn
>
>Rick Gordon
>
>------------------
>
>At 10:25 PM -0800 2/28/12, Rick Gordon wrote:
>
>>OK, this works -- basic regex:
>>
>>set vCommand to "sed 's/^\\(.*\\)indent\\(.*\\)$/\\1flush\\2/g' <<< " & quoted form of vParaStyleNameIn
>>
>>Rick Gordon
--
___________________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________________
WWW: http://www.shelterpub.com
_______________________________________________
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