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'