Tee

This is also exactly like one could use tee in script:

echo "3" | tee -a woot.txt
3
echo "2" | tee -a woot.txt
2
echo "1" | tee -a woot.txt
1

cat woot.txt 
3
2
1

-a stands for append.

about / github / jekyll