2008/10/24 Michael Reiner <mr@radarseven.com>
Sven,

Thanks for your help...
Can you clarify your solution just a bit?
I'm a command line beginner and am just a bit confused on how to implement this.
Where is the executable stored (Applications?) and then how do I call the command, I'm assuming from a Terminal window?
Does the executable need to be in the same directory? I tried this but I was getting the command not found error in Terminal.

Where you store the file depends on how you are going to use it. if the php files you want to convert are stored in different places, it might be best to have the script file somewhere in our path. If not, it is probably simpler to have the script file in the same directory as the files to convert. In that case you need to call the script like

./do_convert

if not, it will not be found as you have found out.

And finally - yes it is possible to run this from within Textmate. But the way you presented your problem it sounded (to me) like the Terminal window way would be more conveninent.

--
Sven Axelsson
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.