Comment Comment by hmng Isn't that what tee is for? Like$ prog | tee /tmp/log.txt parent hmng 10 months ago
$ prog | tee /tmp/log.txt