Thanks for this Ian. I've a couple of questions if not anything to add...

   - The applescript you start with.... I guess this deals with file
   names on Mac that contain the "/" character for instance? What exaclty does
   "set tOut to POSIX path of tPath" do?
   - I use this command to escape any parameter in a shell command that
   may contain strange chars - for instance comments. I guess your function
   applies to these as well?


on shell_BashParamEscape @someParam
>     replace space with ("\" & space) in someParam
>     replace "|" with ("\" & "|") in someParam
>     replace "(" with "\(" in someFile
>     replace ")" with "\)" in someFile
> end shell_BashParamEscape
>
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to