[TxMt] A few problems with inserting text via a Command ???

Mats Persson mats at imediatec.co.uk
Fri Feb 11 14:37:46 UTC 2005


On 11 Feb 2005, at 12:32, Brian Lalor wrote:
> On Feb 11, 2005, at 7:13 AM, Mats Persson wrote:
>> Ah, spoke to early there.  :(  The following command still produces a 
>> New line character behind it.
>> echo -n  $TM_FILEPATH | sed "s|^$TM_USER_ROOT_DIRECTORY\(.*\)\$|\1|"
>> Any idea of how to avoid that one ???
> echo  $TM_FILEPATH | sed "s|^$TM_USER_ROOT_DIRECTORY\(.*\)\$|\1|" | tr 
> -d '\n'

Thank you Brian !!  I've been trying to read and understand all this 
*NIX stuff, but can't seem to get it. Will keep on trying though.


Kind regards,

Mats

----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -




More information about the textmate mailing list