• 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: How to Do This Without Smile or Satimage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 21:48:04 -0800

Good question, though I can probably manage with ASCII-aware here.

I've got this working...

	set vCommand to "sed 's/indent/flush/g' <<< " & quoted form of vParaStyleNameIn

...but I haven't figured out how to get regexes working in it:

	set vCommand to "sed 's/(.+?)indent(.*)/\\1flush\\2/g' <<< " & quoted form of vParaStyleNameIn

...returns the error: "sed: 1: "s/(.+?)indent(.*)/\1flu ...": \1 not defined in the RE"

And I'm just winging it without a proper grounding in sed syntax.

Rick Gordon

------------------

On 2/29/12 at 2:47 PM +1100, Shane Stanley wrote in a message entitled
"Re: How to Do This Without Smile or Satimage":

>On 28/02/2012, at 11:53 PM, Alex Zavatone wrote:
>
>> Awk works from what I remember.
>
>> Here are some sed commands
>
>Are they both Unicode-aware?


--
___________________________________________________

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


References: 
 >How to Do This Without Smile or Satimage (From: Rick Gordon <email@hidden>)
 >Re: How to Do This Without Smile or Satimage (From: Alex Zavatone <email@hidden>)
 >Re: How to Do This Without Smile or Satimage (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: How to Do This Without Smile or Satimage
  • Next by Date: Re: How to Do This Without Smile or Satimage
  • Previous by thread: Re: How to Do This Without Smile or Satimage
  • Next by thread: Re: How to Do This Without Smile or Satimage
  • Index(es):
    • Date
    • Thread