[TxMt] Re: Generate new HTML doc from parsed PHP?

Sven Axelsson sven.axelsson at gmail.com
Thu Oct 23 22:38:37 UTC 2008

2008/10/24 Michael Reiner <mr at 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


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20081024/8d7912fe/attachment.html>

More information about the textmate mailing list