[TxMt] Template Code

Allan Odgaard throw-away-1 at macromates.com
Tue Sep 26 18:44:16 UTC 2006


On 26/9/2006, at 19:52, Ketan Anjaria wrote:

> In a previous version of textmate the following code for a template  
> worked to create a TM_PACKAGE variable
>
> TM_PACKAGE=`sed <<<$TM_NEW_FILE_DIRECTORY -n 's#.*classes/\ 
> (.*\)#\1#p'|tr / .` \

Try this: TM_PACKAGE=`sed <<<"$TM_NEW_FILE_DIRECTORY" 's#.*classes/ 
##'|tr / .`





More information about the textmate mailing list