[TxMt] A few problems with inserting text via a Command ???
Brian Lalor
blalor at bravo5.org
Fri Feb 11 12:32:49 UTC 2005
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'
--
__ ____
/ / / __/ Brian Lalor
/ _ \/__ \ blalor at bravo5.org
/_.__/____/ http://bravo5.org/
More information about the textmate
mailing list