logo       

Re: Relative paths in shell variable: msg#00211

editors.textmate.general

Subject: Re: Relative paths in shell variable

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
______________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise