I could not find similar question, so decided to post it
I have a long running job (*nix environment):
program > job.out
which is running over days and prints output in chunks. Can I instead of "job.out" have a script (maybe Perl?) that will modify chunked output (for example prepend a timestamp) and write it to job.out.