Re: Piping sed to sed commands
Re: Piping sed to sed commands
- Subject: Re: Piping sed to sed commands
- From: BJ Terry <email@hidden>
- Date: Sat, 17 Jan 2004 00:14:15 -0800
On Jan 17, 2004, at 12:00 AM, BJ Terry wrote:
>
>
do shell script "sed
>
's/<key>\\([^<]*\\)<\\/key><[^>]*>\\([^<]*\\)<\/[^>]*>/<td
>
class=\"\\1\">\\2<\/td>/' " & inPOSIX & " > " & outPOSIX
>
>
I escaped that manually, so I hope I made the right escapes, but it's
>
hard to say for sure. Good luck.
>
>
BJ
>
Sorry, I found the script to escape AS strings, it should read:
"sed 's/<key>\\([^<]*\\)<\\/key><[^>]*>\\([^<]*\\)<\\/[^>]*>/<td
class=\"\\1\">\\2<\/td>/' " & inPOSIX & " > " & outPOSIX
BJ
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.