On 11 Feb 2005, at 11:57, Rich Barton wrote:
On 11 Feb 2005, at 12:47, Mats Persson wrote:
- 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`
Thanks Rich, that helped me a lot. Now I can just 'arrow-left' and continue typing. Thank you!
Kind regards,
Mats
---- "TextMate, coding with an incredible sense of joy and ease" - www.macromates.com -