How can I force a re-evaluation of this each time?
cat > $(date '+%H-%M-%S').log
So that when I first output something it gets written to one file, and after a few seconds I make another ouput and it will be saved in a new file.
cat just symbolizes a always running program