Re: "Quoted form" puzzlement
Re: "Quoted form" puzzlement
- Subject: Re: "Quoted form" puzzlement
- From: Skeeve <email@hidden>
- Date: Sat, 27 Nov 2010 17:01:45 +0100
Am 10.11.10 19:18, schrieb Rob Lewis:
this should translate to this, right?
'/a/b/c/Jack'\"s trip.jpg'
No. Wrong
It translates to
'/a/b/c/Jack'\''s trip.jpg'
Am I missing something? I can't make any sense out of this, and I
doubt it would work as a valid POSIX path. And how did that double
quote get stuck in the middle of the string?
There is none.
Am I wrong? What does it all mean?
It's very easy. What you see consists of mainly 3 Parts:
1) '/a/b/c/Jack'
2) \'
3) 's trip.jpg'
Since all 3 parts stick together, the shell makes it one parameter.
_______________________________________________
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