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