• 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
Shell: put sed script in Applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Shell: put sed script in Applescript


  • Subject: Shell: put sed script in Applescript
  • From: Gnarlodious <email@hidden>
  • Date: Mon, 16 Feb 2004 20:59:44 -0700

This one has me stumped. A multiline sed script I want to run in an
Applescript:

/ A>$/{
$!N
/\n<\/ul>$/{
$!N
s/ A>\(\n<\/ul>\n<li\)/ a><p>\1/
}
}

I've tried all sorts of escaping and quoting, can someone help me out here?

-- Gnarlie
_______________________________________________
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.

  • Follow-Ups:
    • Re: Shell: put sed script in Applescript - Solved!
      • From: Gnarlodious <email@hidden>
  • Prev by Date: Re: Launching TextEdit with a TEXT document
  • Next by Date: Re: Launching TextEdit with a TEXT document
  • Previous by thread: Re: Launching TextEdit with a TEXT document
  • Next by thread: Re: Shell: put sed script in Applescript - Solved!
  • Index(es):
    • Date
    • Thread