I would like to have a timestamp printed in front of every line that comes out of a "tail -f outputfile", so that I know when is each line printed in. Something like:
[...] 20110617_070222:results printed here 20110617_070312:results printed here 20110617_070412:results printed here 20110617_070513:results printed here [...]
Any ideas?
tailwrites to its standard output, not the times that the lines were written to the original file in the first place. You may well not mind, but be aware of this assumption derived from your question as it is written.