[TxMt] Command Help for templates

Allan Odgaard allan at macromates.com
Tue Feb 15 19:36:53 UTC 2005

On Feb 15, 2005, at 18:12, Ketan Anjaria wrote:

> 's#.*include/\(.*\)#\1#p'|tr / .` \
> I couldn't get this to work. The TM_PACKAGE is always blank.
> You can see the command and template here
> http://paste.lisp.org/display/5811
> Am I doing something wrong?

Pasting in the above verbatim works for me. However, I forgot to quote 
the command, so if you had spaces in the path, that would have been 
reason for the failure. The quoted version looks like this:

's#.*include/\(.*\)#\1#p'|tr / .`" \

If you didn't have spaces in the path, did the path contain an 
'include' component when you created the file?

More information about the textmate mailing list