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

Rich Barton richbarton at mac.com
Fri Feb 11 11:57:18 UTC 2005


On 11 Feb 2005, at 12:47, Mats Persson wrote:

> 2.	There is always a New line character behind the input, whereas I 
> would just want the cursor to remain immediately behind the inserted 
> text on the same line.

You can use the -n switch to remove the trailing newline, i.e.

echo -n `date +%Y-%m-%d`

hth,

Rich Barton




More information about the textmate mailing list