in reply to script for adding timestamp to stdin

What I want to do is have an ongoing log file, ...

What exactly is the intention, i.e. why are you trying to read/write from/to the end of the same file?  Why the reading?

  • Comment on Re: script for adding timestamp to stdin