Re: Converting Unix path to AppleScript path
Re: Converting Unix path to AppleScript path
- Subject: Re: Converting Unix path to AppleScript path
- From: Gnarlodious <email@hidden>
- Date: Mon, 27 Mar 2006 19:32:22 -0700
- Thread-topic: Converting Unix path to AppleScript path
Entity deivy petrescu spoke thus:
> However, your script converts it to "03/26"
OK, in that case I would say this (eliminating one replacement):
do shell script "echo " & someText & "|sed -e 's|^.*///\\(.*$\\)|/\\1|' -e
's| | |g' -e 's|#|#|g' "
the result as POSIX file
alias result
-- Gnarlie
_______________________________________________
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