Re: posix path of string
Re: posix path of string
- Subject: Re: posix path of string
- From: "Dennis W. Manasco" <email@hidden>
- Date: Sat, 25 Jun 2005 05:56:40 -0500
At 11:38 AM +0200 6/24/05, Le Stang Jean-Baptiste wrote:
the 5th character has a ascii number of 0, meaning end of the string
in C, I guess that is why you cannot copy the whole string but only
pieces of the result between two 0
That's a good call: Thanks.
But it's even weirder than that:
osascript -e 'POSIX path of {foo:"bar"}' > bob
If I open bob in qued (anyone remember qued?) with the right switches I get:
dle2 [00] [00] [00] furl
[00] [03] foo [00]TEXT [00] [00] [00] [03] bar [00]
Where the numbers in braces are ASCII codes.
(I'm not sure that this is entirely accurate: I couldn't copy it
directly from qued and had to write it by hand.)
Perhaps it's just (as has wrote)
AppleScript spewing out the naked binary representation of an AERecord.
but it seems like it should do something more reasonable...at least
suppress the non-printing characters on output...
-=-Dennis
.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden