[TxMt] Re: Relative paths in shell variable

Chris Jenkins chrisjenkins at mac.com
Thu Jun 23 16:08:03 UTC 2005


Allan,

You the man! That works perfectly, thanks.

Chris


> Try this: ${TM_FILEPATH#$TM_PROJECT_DIRECTORY/}
> 
> The #-thing means: „minus this prefix‰. There's also % for „minus
> this suffix‰.





______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



More information about the textmate mailing list